Lines Matching refs:time
231 * @param string $time ASN.1 formatted time
235 public static function decodeTime($time, $timezone = null) { argument
248 if ($time == null) {
252 if (strlen($time) != 15) {
257 'year' => substr($time, 0, 4),
258 'month' => substr($time, 4, 2),
259 'day' => substr($time, 6, 2),
260 'hour' => substr($time, 8, 2),
261 'minute' => substr($time, 10, 2),
262 'second' => substr($time, 12, 2)
271 $time = mktime(
284 return $time;
296 public static function formatTime($time, $timezone = null) { argument
309 $formatted = strftime('%Y-%m-%d %H:%M:%S UTC', $time);