Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft access time manipulations

Status
Not open for further replies.

inewham

IS-IT--Management
Apr 27, 2001
7
0
0
GB
Is it possible to add a numeric value to a time field and have the result displayed as a time within Microsoft access querys or reports.
thanks Ian
 
Yes. Use the DATEADD function with the appropriate modifiers so it knows you're adding minutes or hours or seconds:

DateADD("d", 1, date) = one DAY from today
DateADD("n", 1, now) = one minute from now

N = minutes
S = seconds
H = hours
D = days
M = months

Jim There are two ways to argue with a woman - neither one works.
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top