NewDate = DateAdd("d", 30, Date())
OR
NewDate = DateAdd("d", 30, now())
MaB
Main Topics
Browse All Topicsfor example:
today is 6/18/2004. i want to get the date from the current date to 30 days which is 7/18/2004.
the result is 7/18/2004
thanks in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Dear liwayway
You have options to do so..
1. You simply want to add 30 days to your date even if month is of 31 or 28 days.. If u add 30 days to each your date.. then out put would eb adifferent date for each month..
If this is your requirement then MaB has given you the solution.. ir
myDate = DateAdd("d",30,Date())
2. If you want to add a month to ur date.. i mean you always want the same day of the next month then better use this
myDate = DateAdd("m",1,Date())
This will retrun you always the same day of the next month, irrespective of the total days of that month..
neeraj523
Business Accounts
Answer for Membership
by: MaBPosted on 2004-06-17 at 02:53:29ID: 11332979
Hi liwayway
You want that exact date, or do you want the range of dates between today and 30 days forward?
Best Regards MaB