therealwesfoster Posted July 13, 2008 Share Posted July 13, 2008 I know you can do this: strtotime("13 March 1990"); But I'm just gathering date-numbers from my users in a form, so how can I do something like this? (all numbers) strtotime("13 3 1990"); (^ That doesn't work) ? Thanks Link to comment https://forums.phpfreaks.com/topic/114491-solved-simple-strtotime-question/ Share on other sites More sharing options...
JasonLewis Posted July 13, 2008 Share Posted July 13, 2008 mktime() $time = mktime(0,0,0,"3","13","1990"); Link to comment https://forums.phpfreaks.com/topic/114491-solved-simple-strtotime-question/#findComment-588739 Share on other sites More sharing options...
therealwesfoster Posted July 13, 2008 Author Share Posted July 13, 2008 Awesome, thanks Link to comment https://forums.phpfreaks.com/topic/114491-solved-simple-strtotime-question/#findComment-588742 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.