epoche<->date ?
| From: | Wenz Christian | Date: | Sat, 15 Jul 2000 19:48:01 +0000 |
| Subject: | epoche<->date ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6767@lists.php.net to get a copy of this message | ||
Hello,
is there an easy way to convert a UNIX epoche value (stored in a string)
into a date variable so that I can read out e.g. day, month and year? I
tried some clumpsy things using mktime(0,0,epoche/1000) as second parameter
for date(), it even seems to work, but there _must_ be an easier way.
date("...", epochestring) doesn't work :-( (I tried on PHP3)
Regards
Christian