php-general | 2000071

[PHP] epoche<->date ? From: Wenz Christian (christian.wenz <email protected>)
Date: 07/15/00

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>