Information générale
Titre:
Converting a string to a date
Hi,
I want to validate a date so that I can be sure that the user hasn't entered a future date.
The date is held in 3 fields. One holds the day, one the month and the other the year.
If I concatenate the values of the fields with "/" so that I get a string with (for example) "23/06/2003" how can I than convert it to a date so that I can check it against the current date?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement