Forums Register Login

Date comparison...Help please!

+Pie Number of slices to send: Send
Help please!

I have a field in my form known as dob, which is for entering date of birth. The format in which the user must enter the date is "dd-mmm-yyyy". Thus a sample valid date is: 12-jan-2005. I want to ensure that the date entered is never in the future. Can you please tell me the most efficient way to do this.

I am thinking of finding out if the date entered is greater than today. but I am not sure of how to do this with a date format of 12-jan-2005.


Thank you.

Dele
+Pie Number of slices to send: Send
basic idea:




Eric
+Pie Number of slices to send: Send
Eric,

Thank you very much indeed for your answer, it is objective perfect!

Greatly appreciated.

Dele Oke
This will take every ounce of my mental strength! All for a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 771 times.
Similar Threads
Convert a String with a date valus for Oracle
How to retrieve a date value
Date Formatting
date
how to retreive date
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:49:18.