i know in VB you can get todays date using date()
but how do i get tomorows and the next weeks dates ?
(i have searched but returned 0 results)
please help, and thanks if you do
Senorbadger
Printable View
i know in VB you can get todays date using date()
but how do i get tomorows and the next weeks dates ?
(i have searched but returned 0 results)
please help, and thanks if you do
Senorbadger
If you want the user can select the date, you can use MonthView, goto Project --> Components --> Microsoft Windows Common Controls - 2.X.X
I'm using 2.6.0
If you want to get it by programming itself, you can use Now for today date.
e.g. Msgbox Now
Msgbox Now + 1 will give the date of tomorrow
Look up the DATEADD function in the help
DateAdd("d",1,Now) returns tomorrow's date
DateAdd("d",-1,Now) retirms yesterday's date
DateAdd("m",1,Now) returns a date in a month's name
etc