...

View Full Version : unix timestamp to normal date



davehaz
05-01-2006, 04:28 PM
is there a way to convert a unix timestamp to a 05/01/2006 format?

tia.

trib4lmaniac
05-01-2006, 04:30 PM
echo date('m/d/Y', $timestamp);
I'm not sure if the m/d/Y is 100% correct, but it should be close.

Yeah, it's right.

davehaz
05-01-2006, 04:36 PM
yes you are right, I was just coming back to say nevermind, I found the answer.

Thanks.

degsy
05-02-2006, 03:31 PM
You can also do it from the SQL Query.

http://www.hypermedic.com/php/datetime.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum