Category Archives: Date/Time/Timing

These posts are related to date and time coding. As well as performance counters, timing, stopwatch coding, and so on.

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