Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters into FLL type 'D'
Message
 
To
08/02/1999 14:21:32
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00185209
Message ID:
00185216
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform