Results 1 to 2 of 2

Thread: PC time & date

  1. #1

    Thread Starter
    Lively Member chxxangie's Avatar
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    79

    PC time & date

    is there any ways can recognise the PC whether is using 24-hours format or 12-hour (AM/PM) format?

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: PC time & date

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width