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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add One Day to a Date

Status
Not open for further replies.

NewfieGolfer

Technical User
Mar 29, 2001
80
CA
Hi All,

I want to add one day to a date. So if I have date1 = "5/20/2002", I would like a function that adds one day and gets date1 = 5/21/2002. So it's basically date1 = date1 + 1 (but i know this doesn't work - type mismatch).

Any help appreciated,
NG




 
Try this:

[tt]date1 = #5/20/2002#
date1 = date1 + 1
[/tt]
hth,
GGleason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top