Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Clock(Just put a label and timer on your form and ...
Author:
Vb_newbie_1
Submitted:
2/5/2001
Version:
VB5
Compatibility:
VB5, VB6
Category:
Date/Time
Views:
14488
Clock(Just put a label and timer on your form and This line of code and you have a Clock in your program).
Declarations:
'you will need a timer with interval set to 1000. Open the timer control and put the code Bellow in it..
Code:
Label1.Caption = Abs(Hour(Now)) & ":" & Format$(Minute(Now), "00") & ":" & Format$(Second(Now), "00")
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement