hi guys, am working on a phpscript and have a date form, am lacking a php/javascript code to validate my date form. please help with the code.

Recommended Answers

All 4 Replies

Hi,

You need to provide us what date format you want to validate with. There are few of them you must decide..

hi,
my date format is dd/mm/yyyy. thanks

here is a nice example of doing date validation. If you need a more complex example than the ones found on php.net, please let me know....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.