View Single Post
Old 10-20-2004, 03:59 PM   #1 (permalink)
Epsilon
Regular Contributor
 
Epsilon's Avatar
 
Join Date: Mar 2003
Location: Las Vegas, NV
Posts: 131
Epsilon is on a distinguished road
PHP and Unix timestamps

I dig PHP's handy date() function that allows you to format a date string out of a timestamp. But I have a project where it would be very useful if I could reverse generate a timestamp from a date/time. For example, I input something like "10/20/2004 12:01:00 PM" and the script generates the corresponding Unix timestamp.

Anyone know how to do this with PHP?
__________________
--Epsilon--
Epsilon is offline   Reply With Quote