Label1.Text = Date.Today.Day & "-" & Date.Now.Month & "-" & Date.Now.Year & " " & Date.Now.Hour & ":" & Date.Now.Minute & ":" & Date.Now.Second & "." & Date.Now.Millisecond
Select allOpen in new window
if you dont want to change the code
change the regional settings.
otherwise i would recommend formatting it manually to make sure it gets displayed the exact way you want like
check code below gets todays date in the format you like and stores it in a label
Open in new window