Returns or sets a String value representing the current time of day according to your system.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
TimeString always returns the system time as "HH:mm:ss", which is a 24-hour format. This format is culture-invariant, which means it does not change even if you change the Regional Options in Control Panel.
To get the current system date as a String, use the DateString property.
MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt"))
To access the current system time as a Date, use the TimeOfDay property.