Nov 12, 2000 #1 EscapeUK Programmer Joined Jul 7, 2000 Messages 438 Location GB I have a text box that displays the date and time, How to I add two hours on to the date. Sometimes I also need to add a day
I have a text box that displays the date and time, How to I add two hours on to the date. Sometimes I also need to add a day
Nov 12, 2000 #2 peekay Programmer Joined Oct 11, 1999 Messages 324 Location ZA Use the Dateadd function like this : Dateadd(interval,number,date) To add two hours : Dateadd("h",2,date) PK Odendaal pko@mweb.co.za Upvote 0 Downvote
Use the Dateadd function like this : Dateadd(interval,number,date) To add two hours : Dateadd("h",2,date) PK Odendaal pko@mweb.co.za