Manhag Posted December 2, 2012 Share Posted December 2, 2012 hello i want to echo the date"day" of another timezone i tried this but no change in day value $day1 = date("Y-m-d H:i:s"); $day = new DateTime($day1, new DateTimeZone('Pacific/Fiji')); echo "asd".$day->format('j')."asd"; Link to comment https://forums.phpfreaks.com/topic/271484-how-to-display-the-day-for-another-timezone/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.