|
-
Mar 17th, 2007, 06:39 PM
#1
Thread Starter
Junior Member
[RESOLVED] DateTimePicker vb.net 2005
I've got the following piece of code that shows current date and time in a label within timer_tick.
What i want to do is to enable a user to choose time format ie 12 or 24 hr clock.
I know it's something to do with the DateTimePicker but i dont know how to incorporate it within my code.
My time code is the simple code below:
"Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Label1.Text = Now.ToString
End Sub"
Please help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|