well there's probably a way of checking the system settings using API.

or you could do something like:
VB Code:
  1. If Right$(CStr(Time), 1) = "M" Then
  2.     ' 12 Hour clock
  3. Else
  4.     ' 24 Hour clock
  5. End If
but why does it matter?