yeah that works.. but if you call the time function and your system settings are on 12 hour.. why would it return military time???Originally posted by Hack
VB Code:
Private Sub Command1_Click() Dim MyTime As Variant MyTime = Format(Time, "hh:mm:ss AMPM") MsgBox MyTime End Sub




Reply With Quote