Subtracting Dates in Access

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Jnarwed

Thread Starter
Joined
Sep 4, 2001
Messages
55
Please help,

I would like to subtract two dates and have the total number of days returned. For example

[Date Started] - [Current Date] = x (number of days)

I haven't seen a function for this. Please let me know if it's possible.


Thanks,

Jnar
 
Joined
Oct 13, 2000
Messages
941
Look in the Access help index for the functions DateDiff and DateAdd. They're fairly straightforward. You can also just subtract them and get a number.
 
Joined
Oct 13, 2000
Messages
941
Sorry, forgot to say that the Date() function returns today's date, and the Now() function returns today's date with this second's time.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top