Thanks for your replie. Actually, I was using that, but just checking if
there was a different way where I did not have to precede Now... with Format.
Here is what I came up with that seems to do the trick
Now.ToString("HH:mm:ss")
It is a C# method, but C# and VB.Net are pretty much the same now except for
Dim and you have modules in VB (and no { } or ; ...)
"Crouchie1998" wrote:
Capitilize the hours:
Dim dtTime As String = Format(DateTime.Now, "HH:mm:ss")
MessageBox.Show(dtTime)
I hope this helps,
Crouchie1998
BA (HONS) MCP MCSE