[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DateTimePicker vb.net, how to set DateTimepicker Date.now + 1 year ahed..

Posted on 2009-02-24
2
Medium Priority
?
1,199 Views
Last Modified: 2012-05-06
Hi!

I am using a DateTimePicker in vb.net.
I want to set this date to: Date.Now + 1 year ahed.

How do i do that ?
0
Comment
Question by:team2005
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 2000 total points
ID: 23719727
Hello team2005,

DateTimePicker.Value = Now.AddYears(1)

Regards,

TimCottee
0
 
LVL 2

Author Closing Comment

by:team2005
ID: 31550492
Thanks
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Loops Section Overview
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month20 days, 4 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question