Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date format problem
Message
 
 
To
08/12/2011 23:09:20
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01530701
Message ID:
01530702
Views:
63
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform