|
-
December 21st, 1999, 03:28 PM
#1
Difference between 2 dates
Hi,
Using VBA in MS Access, how can I find the difference between 2 dates as X years Y months and Z days.
Thanks in advance.
Nandini
-
December 21st, 1999, 05:00 PM
#2
Re: Difference between 2 dates
Try using the function "DateDiff". It will return the info you want. Check MSDN documentation for more info.
Allen Noakes
VB Programmer/Analyst
Dames & Moore Group
-
December 29th, 1999, 07:18 AM
#3
Re: Difference between 2 dates
you can use datediff function for getting the diiference between two dates.
you hav to specify that in which format do u want the difference like u want difference in terms of days or month or year etc.
u can check help for the exact syntax in case u find ne prob u can drop me a mail at [email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|