How To Calculating Years, Months, and Days Between Two Dates (130444)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft FoxPro for Windows 2.5
- Microsoft FoxPro for Windows 2.5a
- Microsoft FoxPro for Windows 2.5b
- Microsoft FoxPro for Windows 2.6
- Microsoft FoxPro for Windows 2.6a
- Microsoft FoxPro for MS-DOS 2.5
- Microsoft FoxPro for MS-DOS 2.5a
- Microsoft FoxPro for MS-DOS 2.5b
- Microsoft FoxPro for MS-DOS 2.6
- Microsoft FoxPro for MS-DOS 2.6a
This article was previously published under Q130444 SUMMARY
The program in this article shows by example how to calculate the
combination of days, months, and years between two dates (starting date and
ending date) passed as date parameters.
NOTE: The starting date must be an earlier date than the ending date.
Modification Type: | Minor | Last Reviewed: | 6/14/2005 |
---|
Keywords: | kbhowto KB130444 |
---|
|