Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date format problem
Message
 
 
À
08/12/2011 23:09:20
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01530701
Message ID:
01530702
Vues:
62
>Hi,
>I have store a date value in a excel worksheet use dd-mmm-yyyy' format
>it should be 8 Dec 2011, but the result give me 12 Aug 2011 in the cell
>
>Why ?
>
>
>SET DATE TO DMY
>oExcel.activesheet.Range("C2").NumberFormat ='dd-mmm-yyyy'   
>oExcel.activesheet.Range("C2").value = "08/12/2011"   
>
>
>
>Please advise.
>Thanks
>Derek

I found this relevant thread and message Re: Strange date formatting Thread #1346235 Message #1346253 that may help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform