Subtracting START Date from END Date

G

Guest

I'm using the between [start] and [end] function and wondering if there is a
way to subtract start date from end date to get number of days elapsed. Seems
simple, but I can't get it to work.
Thanks
 
G

Guest

Use DateDiff function.

DateDiff ("d",[end], [start])

"yyyy" would be years
"m' months
"d" days
"h" hours
"n" minutes
"s" seconds
 
J

John Vinson

I'm using the between [start] and [end] function and wondering if there is a
way to subtract start date from end date to get number of days elapsed. Seems
simple, but I can't get it to work.
Thanks

DateDiff("d", [start], [end])

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top