| | |
Changing time in datetimepicker
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2009
Posts: 40
Reputation:
Solved Threads: 0
I have 2 datetimepickers on my form, and I use them to pass parameters to my sql queries for reporting purposes. You would use them to pick a date range and display clock in times for employees. Anyway, I need an option so users can see information from a single day(24 hour timespan) My first Idea was to let the user change the date on the first datetimepicker then changing the time to 12:00 AM then the second datetimepicker to 11:59 PM. I want to be able to do this programmatically, but I couldnt figure out how to change the time. I feel so stupid please give me some advice.
0
#2 Nov 5th, 2009
Try it,
VB.NET Syntax (Toggle Plain Text)
DateTimePicker1.Value = DateTimePicker1.Value.AddMinutes(1)
![]() |
Similar Threads
- Changing Time format (Pascal and Delphi)
- some help needed..changing of time format from 12hour format to 24hour format (Perl)
- Computer time is fast (OS X)
- bridge.dll changing start pages (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: Help with array
- Next Thread: CPU Usage
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2008 access add application array assignment basic binary box button buttons center click code combo connectionstring convert cpu data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees excel exists firewall folder function image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net opacity page pan peertopeervideostreaming picturebox plugin port print printing printpreview record regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase storedprocedure string structures studio temp textbox timer txttoxmlconverter upload useraccounts usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vbnet vista visual visualbasic visualbasic.net web wpf xml






