I always seem to have problems with text and dates. Here is what I want to do.
I want a text box on a form and allow the user to enter a date in the format of dd/mm/yy.
I want to validate that so that it is entered in the correct format and to make sure it is not greater than today or less than 01/01/1995.
I then want to enter that date into a database but in the format of datetime.
The date must be in text format as some times the text "No date" is returned from the DB
So my questions are
How do I convert text into date
How do i convert a date into date time
I want a text box on a form and allow the user to enter a date in the format of dd/mm/yy.
I want to validate that so that it is entered in the correct format and to make sure it is not greater than today or less than 01/01/1995.
I then want to enter that date into a database but in the format of datetime.
The date must be in text format as some times the text "No date" is returned from the DB
So my questions are
How do I convert text into date
How do i convert a date into date time