Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 149,913 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 2,181 people online right now. Registration is fast and FREE... Join Now!




datetimepicker

 
Reply to this topicStart new topic

datetimepicker, how to set perticular year to datetimepicker control

ishella
31 Jan, 2008 - 09:31 PM
Post #1

New D.I.C Head
*

Joined: 31 Jan, 2008
Posts: 1

[code]datetimepicker1.value.year = 1998
User is offlineProfile CardPM
+Quote Post

Nayana
RE: Datetimepicker
31 Jan, 2008 - 10:53 PM
Post #2

DIC Hawk - 나야나 नयन:
Group Icon

Joined: 14 Nov, 2007
Posts: 824



Thanked: 5 times
Dream Kudos: 175
My Contributions
You need to make a new Date object and set the value e.g.
DateTimePicker1.Value = New Date(2008, 12, 31)
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 02:09PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month