Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Julian to Gregorian
Message
 
À
01/06/2005 09:35:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01018950
Message ID:
01018955
Vues:
20
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform