fujale Posted October 22, 2014 Share Posted October 22, 2014 Can you please help how to validate the date of birth in code igniter including leap years Link to comment https://forums.phpfreaks.com/topic/291975-date-of-birth-validation-in-codeigniter/ Share on other sites More sharing options...
Barand Posted October 22, 2014 Share Posted October 22, 2014 checkdate() $doby = '2014'; $dobm = '02'; $dobd = '29'; if (checkdate($dobm,$dobd,$doby)) { echo "Date OK"; } else { echo "Date error"; } Link to comment https://forums.phpfreaks.com/topic/291975-date-of-birth-validation-in-codeigniter/#findComment-1494361 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.