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

date manipulation

Status
Not open for further replies.

ghobbes98

Programmer
Feb 7, 2002
62
IE
is there any simple way of getting a date 30 days previous to a given date.
so if i get given a date 30/4/2002 I want to get 31/3/2002.
Thanks for any help
hobbes
 
Yes:

DateAdd("d", -30, "30/4/2002") Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top