Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DMY and MDY Dates
Message
 
À
26/10/2010 15:59:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01487008
Message ID:
01487035
Vues:
50
>How can I determine whether a date is DMY or MDY? For instance, if I have a date that is formatted as follows: 01/02/48
>The field in my table is a date of birth field and is a character field. Does anyone have any code written that will tell me whether the 01 is a month or a day. The same goes for the 02 portion of the field.

If somebody's written something in french, or any non English language, you know you are not in MDY right?

Seriously, what you could do if you have a look at the table. If you find the first parameter > 12 then you know it's not a month right?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform