yarub Posted August 15, 2006 Share Posted August 15, 2006 How would I change Jan 01, 2006 into a ten-digit timestamp? I know how to create a timestamp with time() and I know how to turn a timestamp into the format Jan 01, 2006. Now I need to know how to change the Jan 01, 2006 back into a timestamp. Link to comment https://forums.phpfreaks.com/topic/17692-turn-jan-01-2006-into-timestamp/ Share on other sites More sharing options...
hitman6003 Posted August 15, 2006 Share Posted August 15, 2006 start with strtotime, if that won't work with the full string, then you will have to break it apart into something that it will accept.http://www.php.net/strtotime Link to comment https://forums.phpfreaks.com/topic/17692-turn-jan-01-2006-into-timestamp/#findComment-75399 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.