Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters into FLL type 'D'
Message
 
À
08/02/1999 14:21:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00185209
Message ID:
00185216
Vues:
19
Hi Denis,

>In parm->p[0].val i see ev_real part... but it is real value... How can I get a day,year and months from this value ?

From the VFP help file:

1. The date is represented as a double-precision floating-point Julian day number calculated using Algorithm 199 from Collected Algorithms of the ACM.

You don't have to know the algorithm, just pass a known date and use the date and corresponding number to determine the actual date. I haven't checked it, but SYS(11) and SYS(11) might use the same algorithm.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform