Current date and time

Dim rightNow As Date = Now
Dim result As New 
System.Text.StringBuilder

result.Append("Date: ").AppendLine(rightNow.ToShortDateString)
result.Append("Time: ").AppendLine(rightNow.ToShortTimeString)
MsgBox(result.ToString())

Related posts:

  1. Get the exact date and time this will display the exact date and time when the...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>