Results 1 to 3 of 3
Thread: Get Tomorrow's Date?
Jan 31, 2007, 04:00 #1
Get Tomorrow's Date?
This seems like a very basic question but it's driving me mental, I can't for the life of me figure out an easy way of how to do this!
All I want is to get tommorrows date in the following format DD/MM/YYYY
Obviously it needs to be clever enough to work out what it will be if it's the 31st of the month or 31st december etc..
Jan 31, 2007, 05:08 #2Code:
dateadd("d", 1, now)
Jan 31, 2007, 05:24 #3
Thanks Richard ! I literally found this function about 1 hour ago. Here is my code, for anyone who is interested! It breaks each date into it's parts - yeah yeah it's messy
dateNow = Date() dateNowDay = Day(dateNow) dateNowMonth = Month(dateNow) dateNowYear = Year(dateNow) dateNextMonth = DateAdd("m",1,dateNow) dateNextMonthDay = Day(dateNextMonth) dateNextMonthMonth = Month(dateNextMonth) dateNextMonthYear = Year(dateNextMonth)