Jump to content

"AM" "PM" GUICtrlSendMsg


Recommended Posts

I not see "AM" "PM" in the $iStartTime field.

$iStartTime = GUICtrlCreateDate("00:00", 189, 145, 75, 20, 9); $DTS_TIMEFORMAT = 9

GUICtrlSendMsg($iStartTime, 0x1032, 0, "hh:mm tt");$DTM_SETFORMATW = 0x1032why?

Link to comment
Share on other sites

Look at example #3 in the help file for GUICtrlCreateDate for the proper way to set this.

Also in this example if i modify:

$style = "HH:mm tt"

GUICtrlSendMsg($date, $DTM_SETFORMAT_, 0, $style)

i not see AM and PM

Link to comment
Share on other sites

Probably because your local computer has 24hr clock.

ie change your calendar time settings long to "hh:mm:ss tt"

Al if i change my calendar time settings long in SO to "hh:mm:ss tt" i again not see AM and PM.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...