Get the current Time and Date in Visual Basic 6.0

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
 

This will return the Date and Time and display in a Messagebox.


'vb 6.0 or vb 5.0

MsgBox("The time is " & Time)

Msgbox ("The date is " & Date)

Revised: 2015

One thought on “Get the current Time and Date in Visual Basic 6.0

Leave a Reply