@ 2016-01-22T10:10:38Z <?php
$localTime = new DateTime(null, new DateTimeZone('UTC'));
var_dump($localTime->format("j/n/Y g:i:s a"));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/n3u8J on line 3
string(21) "22/1/2016 10:14:48 am"
Output for 5.6.28 , 7.0.20 , 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.16 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 string(21) "22/1/2016 10:14:48 am"
Output for 5.5.0 - 5.5.36 , 5.6.0 - 5.6.22 , 7.0.0 - 7.0.7 string(21) "22/1/2016 11:10:38 am"
preferences:dark mode live preview
156.84 ms | 402 KiB | 217 Q