Zepo. Posted April 30, 2008 Share Posted April 30, 2008 I was wondering what format 1209518611 is for a date, thats the date for 2006. How could i generate the current date in the same format? Quote Link to comment https://forums.phpfreaks.com/topic/103640-solved-date-generation/ Share on other sites More sharing options...
dooper3 Posted April 30, 2008 Share Posted April 30, 2008 What you quote is a unix timestamp. To get the current time in the same format use the time() function in PHP (http://uk.php.net/time) Quote Link to comment https://forums.phpfreaks.com/topic/103640-solved-date-generation/#findComment-530708 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.