Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DMY and MDY Dates
Message
From
27/10/2010 14:28:56
 
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01487008
Message ID:
01487214
Views:
39
>>>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.
>>
>>
>>Hi,
>>
>>to determine wether if in 01/02/48 is 1st feb 1948 or 2nd jan 1948 you could add 31 days to 01/02/48 and see which part of 01/02/48 increased. Is that an idea?
>
>How do you add 31 to a string ? :-}
carefully.
Previous
Reply
Map
View

Click here to load this message in the networking platform