Lines Matching defs:dt
1452 * @param int $dt timestamp
1455 function datetime_h($dt)
1459 $ago = time() - $dt;
1490 * @param int|null $dt timestamp when given, null will take current timestamp
1494 function dformat($dt = null, $format = '')
1498 if (is_null($dt)) $dt = time();
1499 $dt = (int) $dt;
1502 $format = str_replace('%f', datetime_h($dt), $format);
1503 return strftime($format, $dt);