Page 1 of 1

Australian Time

Posted: Sun Feb 08, 2004 3:52 pm
by Mr. Tech
How can I show the australian time (GMT +10) even though the server has american time?

Thanks

Posted: Sun Feb 08, 2004 4:24 pm
by DuFF
You can use setlocale() and strftime().

Posted: Sun Feb 08, 2004 5:15 pm
by Mr. Tech
Thanks! So it would be something like this:

<?php
setlocale(LC_TIME, "AU");
echo strftime("%A %H %M");
?>