Date Picker Problem

Reply

Join Date: Jul 2008
Posts: 52
Reputation: pardeep3dec is an unknown quantity at this point 
Solved Threads: 1
pardeep3dec pardeep3dec is offline Offline
Junior Poster in Training

Date Picker Problem

 
0
  #1
Sep 11th, 2008
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 ?
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 23
Reputation: gopi17 is an unknown quantity at this point 
Solved Threads: 0
gopi17 gopi17 is offline Offline
Newbie Poster

Re: Date Picker Problem

 
0
  #2
Sep 11th, 2008
Originally Posted by pardeep3dec View 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 ?

try this

datepicker1.value = date.now()....
i think its should work....
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 44
Reputation: K.Vanlalliana is an unknown quantity at this point 
Solved Threads: 3
K.Vanlalliana K.Vanlalliana is offline Offline
Light Poster

Re: Date Picker Problem

 
0
  #3
Sep 11th, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC