Hour adding function

L

Lee

I have a start time field in a form. My boss want me have
a button on the form he can click and view a list of 6,
12, 24, 36, 48, 72 hour after the start time (include
time, date). Does someone has solution to this?
 
D

Douglas J. Steele

To add a number of hours to a time, use DateAdd("h", NumberOfHours, MyTime)
(obviously you need to replace NumberOfHours and MyTime with your values)
 

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