- function_exists: documentation ( source)
- date_default_timezone_set: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
if(!function_exists('date_default_timezone_set')) {
return;
}
date_default_timezone_set('Europe/Rome');
$d = strtotime('20:12:59 Jan 13, 2009 PST');
echo date('r', $d);