FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » local time, not server time
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
local time, not server time [message #32884] Mon, 31 July 2006 17:13 Go to previous message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma:
Senior Member
Is there an easy way to change the time that shows when printing a report.

I have
<?php
date
("g:i:s a")
?>

but that shows the server time which is in another time zone from where I live.

I saw the setlocale function at php.net but that did not change anything. well, it changed other things but not the time.

help!


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Forced downgrade of PHP
Next Topic: php/sql design help
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 19:38:14 GMT 2024

Total time taken to generate the page: 0.04052 seconds