Page 1 of 1

date conversion into unixtime

Posted: Mon Apr 18, 2005 5:45 pm
by orangeapple
Hi guys,

How can I convert this date format :

Sun 17th Apr 2005 05:53 pm

in unixtime ?

thanks a lot for your help !

Posted: Mon Apr 18, 2005 5:55 pm
by John Cartwright

Code: Select all

echo strtotime('Sun 17th Apr 2005 05:53 pm');
strtotime().. what a wonderful function

Posted: Tue Apr 19, 2005 10:15 am
by orangeapple
thanks a lot jcart !