Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel date to VFP
Message
De
09/03/2005 13:16:45
 
 
À
09/03/2005 13:10:50
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00994089
Message ID:
00994092
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform