RE: [PHP] Confusion with UNIX date/time
| From: | Jon Haworth | Date: | Fri, 24 May 2002 12:33:44 +0000 |
| Subject: | RE: [PHP] Confusion with UNIX date/time | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99079@lists.php.net to get a copy of this message | ||
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