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