Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clng equivalent
Message
From
17/06/2005 22:45:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Jet/Access Engine
Miscellaneous
Thread ID:
01024549
Message ID:
01024551
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>I am converting some dbf's into Access tables and ran across a field that is being created in VB by performing clnt() on a date. Is there a way to duplicate this in VFP so I can populate this field?
>
>Example 12/28/2004 comes out to 38349.
>
>Thanks in Advance!

This looks like a day count - how many days ellapsed since a specified date. Some spreadsheets, including Excel, store dates in this format.
? {^2004-12-28} - {^1899-12-30}
Gives the number of days you indicated. See if you get consistent results with other dates (always using the same date, 30-dec-1899, in the subtraction).

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform