Is it possible to convert a date like 20 Dec 2001 to a timestamp?
if so, how?
I figured that'd be the easiest way to count days..
This is a discussion on converting date to timestamp? in the Shared & Semi-Dedicated forum
Is it possible to convert a date like 20 Dec 2001 to a timestamp?
if so, how?
I figured that'd be the easiest way to ...
Is it possible to convert a date like 20 Dec 2001 to a timestamp?
if so, how?
I figured that'd be the easiest way to count days..
Yes, check out the very cool strtotime() function. You can pass it virtually any English string and it will return a timestamp. You can even use it to do your count automatically as in:
strtotime("20 Dec 2001 + 30 days");
Enjoy!
--Jason
Copyright © 2011 JaguarPC.com
Bookmarks