Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Julian to Gregorian
Message
 
To
01/06/2005 09:35:33
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018950
Message ID:
01018955
Views:
17
Something like this:

lc="2000316"
lcdate=SYS(10,VAL(SYS(11,DATE(VAL(LEFT(lc,4)),1,1)+VAL(RIGHT(lc,3))-1)))

And format lcdate as needed.

Good Luck


>I have a numeric field that is actually a date. The format is YYYYDDD (ie,2000316). I want to convert this to MMDDYYYY format. What is the code for doing this?
Previous
Reply
Map
View

Click here to load this message in the networking platform