ClarusDignus

Visual Studio Timer Display Error

Oct 22nd, 2014
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.26 KB | None | 0 0
  1. Public Class Form1
  2.  
  3.     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
  4.         'Format time and date labels.
  5.         Label1.Text = Format(Now, "hh:mm:ss")
  6.         Label2.Text = Format(Now, "dddd, d/MM/yyyy")
  7.     End Sub
  8.  
  9. End Class
Advertisement
Add Comment
Please, Sign In to add comment