I have a textbox where user can enter the date in format of MM/DD/YY, now I want to set a rule only accept the date within one month from current date, how can I do that, anyone help will be appreciated.
michael123
0
Junior Poster in Training
Recommended Answers
Jump to Postthe date that you receive is a string so with substr you can break it down to it's parts. or explode...
then have a look at http://www.php.net/date where there are some good …
All 2 Replies
Reply to this topic
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.