Does anyone know a way to get the time formmated like hh:mm:ss.m? Where m is milliseconds. I have a feeling I may need to take the ticks and convert that to date and time but I'm not sure how.
THanks
Printable View
Does anyone know a way to get the time formmated like hh:mm:ss.m? Where m is milliseconds. I have a feeling I may need to take the ticks and convert that to date and time but I'm not sure how.
THanks
Maybe Date.Now.Millisecond is what you are looking for.
VB Code:
Me.TextBox1.Text = Date.Now.ToString("HH:mm:ss") & " " & DateTime.Now.Millisecond
Thanks. makes me feel kinda stupid that it was that obvious.