Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Calculation
Message
From
02/01/2007 13:53:46
 
 
To
02/01/2007 13:48:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181507
Message ID:
01181510
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
>How do I calculate the days between two given dates? Please help.

If you want to know the number of days between two date values, then:

lnNumDays = ldSecondDate - ldFirstDate

where

ldSecondDate > ldFirstDate; i.e., second date is later than first date.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform