Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel date to VFP
Message
From
09/03/2005 13:16:45
 
 
To
09/03/2005 13:10:50
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00994089
Message ID:
00994092
Views:
17
>I have an Excel sheet with several columns of dates.
>
>When I import the file into VFP (or save as DBF) the dates are converted to a number.
>
>The dates do not appear to be julian date because 04/30/99 translates to 36297
>
>If you do ? sys(10,36297) it converts to a blank date.
>
>? sys(1) gives a date number of 2453439 for today.
>
>How can I convert 36297 to 04/30/99 ?

What version of Excel are the sheets stored as? Which command are you using to import?

As I remember it, this is a problem with earlier versions of Excel, but should work for later versions.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform