Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>A user can enter 2 or 4 digit value for the year section in a datetime field: (i.e. 01/01/01 or 01/01/2001)
>
>1. If the year is in the future, invalid - set to same date in previous century (i.e. 08 entered, make it 1908, or 2008 entered, make it 1908).
>2. If the year is between the current century and the current year (2000/00 to 2007/07), assume this century.
>3. If the year is greater than the current year, set it to the same date in the previous century.
>
>For some reason I am not getting this today. It should be so very very simple...
Hi,
Plenty of suggestions but the title is 'Valid Date of Burth' so is the logic valid? For a given date the year could be the current year but the date still be in the future.
Regards,
Viv
Précédent
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