Get the exact date and time

this will display the exact date and time when the program is run

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
MsgBox(Date.Now)
End Sub
End Class

Related posts:

  1. Create a folder This example shows how to create a folder Imports System.IO...
  2. Play a wav file Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal...
  3. A filestream example opening and reading a file using the FileStream   Imports...
  4. Play an MP3 file Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal...
  5. Current date and time Dim rightNow As Date = Now Dim result As New ...

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>