943,607 Members | Top Members by Rank

Ad:
Sep 11th, 2008
0

Date Picker Problem

Expand Post »
Hi friends,
I took a date picker control on form but it is not showing current date.
Is there any way except this datepicker1.value=date ?
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
pardeep3dec is offline Offline
87 posts
since Jul 2008
Sep 11th, 2008
0

Re: Date Picker Problem

Hi friends,
I took a date picker control on form but it is not showing current date.
Is there any way except this datepicker1.value=date ?

try this

datepicker1.value = date.now()....
i think its should work....
Reputation Points: 10
Solved Threads: 0
Light Poster
gopi17 is offline Offline
39 posts
since Sep 2008
Sep 11th, 2008
0

Re: Date Picker Problem

datepicker1.value = date.now().... is not enough if you expect to display date as you wish. I need to use format command so as to display date as you wish. The syntax to display date as 22-May-2008 is:

Format(Now,"dd-mmm-yyyy")

Other problem can happened if your system date is not correct, if so, correct the system date and you may need to replace the system battery also if you are using old Computer.
Reputation Points: 10
Solved Threads: 4
Light Poster
K.Vanlalliana is offline Offline
44 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Can any body help me with my project
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: How to insert datas from one table to another using ADO connection





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC