Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to read time from Excel wooksheet
Message
De
18/11/2003 05:24:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/11/2003 01:27:38
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00850873
Message ID:
00850904
Vues:
12
>I'm importing an Excel Worksheet into VFP7 SP1. I've tried the import command and office automation, but I cannot get time values from Excel.
>
>As an example my Excel Cell contains 10:45:00 PM this impots into VFP as .4479166667 and it doesn't seem to matter what time format is used in Excel.
>
>Any help greatly appreciated
>
>PS I' using Excel XP

David,
I believe it's 10:45 AM.
You could save as a dBaseIII file or use a calculation :

Dtot(Date())+.4479166667*86400

Excel keeps date and times as numeric values.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform