You could, however, try something like this if you require a specific formatvb.net Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label1.Text = DateTime.Now.ToString("MM/dd/yyyy") End Sub




Reply With Quote