markduce Posted July 24, 2006 Share Posted July 24, 2006 OK, I have all the details about a point in time, I am just unsure how to turn it all into a Unix timestamp.Can anyone help me out?<?$day="02";$month="04";$year="2006";$hours="09";$mins="50";?>Thanks in advance Quote Link to comment Share on other sites More sharing options...
king arthur Posted July 24, 2006 Share Posted July 24, 2006 Use mktime($hours, $mins, $seconds, $day, $month, $year). (Or zero out any of the parameters, e.g. for zero seconds, mktime($hours, $mins, 0, $day, $month, $year) ) Quote Link to comment Share on other sites More sharing options...
markduce Posted July 24, 2006 Author Share Posted July 24, 2006 Cheers Quote Link to comment 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.