|
-
Jul 9th, 2010, 12:34 AM
#1
Thread Starter
Hyperactive Member
Calender options in VB?
Hi,
I have this program I'm writing that needs to print for instance what date it is a 100 days from now or 30 days from now. Is there a function in VB.NET that lets me do something like this?
Thanks in advance for your time.
-
Jul 9th, 2010, 12:36 AM
#2
Re: Calender options in VB?
Code:
Date.Today.AddDays(100)
will give you a Date object that represents the date 100 days from now. See the documentation for the DateTime type for more information.
-
Jul 9th, 2010, 01:14 AM
#3
Thread Starter
Hyperactive Member
Re: Calender options in VB?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|