JJohnsenDK Posted June 24, 2007 Share Posted June 24, 2007 Hey How do i specify a date with PHP. Example: A input box where users need to put in there day of birth, but noone can write in a date like this: 22/04-07 kl. 15:00, in PHP like when you use the time() function. How do i transform a "normal" date into php date from a input box? Link to comment https://forums.phpfreaks.com/topic/57010-solved-specify-a-date-in-php/ Share on other sites More sharing options...
trq Posted June 24, 2007 Share Posted June 24, 2007 strtotime(). Link to comment https://forums.phpfreaks.com/topic/57010-solved-specify-a-date-in-php/#findComment-281601 Share on other sites More sharing options...
JJohnsenDK Posted June 24, 2007 Author Share Posted June 24, 2007 aaah right ... thanks Link to comment https://forums.phpfreaks.com/topic/57010-solved-specify-a-date-in-php/#findComment-281606 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.