logo       

RE: Confusion with UNIX date/time: msg#03623

php.general

Subject: RE: Confusion with UNIX date/time

Hi JJ,

> What php functions should I use to convert a UNIX timestamp
> to a human - legible format and back again?

gmdate()/date() and mktime()/gmmktime() (depending on whether you need to
calculate them as GMT or not)


HTH
Jon

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise