-
Associate
Question about Unix timestamp and PHP
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?
-
Associate
Re:Question about Unix timestamp and PHP
Nevermind! strtotime(), I just found it in the PHP ref guide.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks