Apr 23, 2002 #1 inewham IS-IT--Management Apr 27, 2001 7 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
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
Apr 23, 2002 #2 WildHare MIS Mar 1, 2002 1,801 US 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: http://www.forumco.com/jmhareMore Access stuff at http://www.jmhare.com/wildhare2.htm Upvote 0 Downvote
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: http://www.forumco.com/jmhareMore Access stuff at http://www.jmhare.com/wildhare2.htm