6/4/2007 2:22 PM | |
Posts: 1084 Rating: (72)
|
Hi, Just as I said, Using the system infro channel will provide you with the information you need in the right format. You only have to look at the regiional settings and the settings you make in the tag setup. The problem was/is showing the Wincc Analog/Digital clocl control in a 24 hour format. with regards, Ikkezelf |
6/4/2007 3:50 PM | |
Posts: 1275 Rating: (123)
|
Hi, Oh, I got it... Here's what I found: under Computer -> Parameters you can see the "Language Setting at Runtime" and "Default Language at Runtime" parameters. By default, mine are set for English (US). So when I changed the Windows configurations for English (US), and set it as my Windows language, my controls automatically assumed this configuration... What I did was: access Control Panel -> Regional Settings, select "English (US)", and the button which is something like "Personalize" (don't remember the correct name for this button in English). There you can reach the tab "Time" and change the settings... click on "Apply" and you can see the control assuming the new settings... I think there must be another way to do this, and I tried some, like switching the LocaleID for the object, but that didn't work... Best regards, Danielle |
6/4/2007 5:42 PM | |
Posts: 1084 Rating: (72)
|
That did not make any difference for me in my project..... |
6/4/2007 6:24 PM | |
Posts: 1275 Rating: (123)
|
Weird... I tested it here and it worked just fine... Project's "Language Setting" and "Default Language" both at English (US), Central time and date formatting set to "Configure individual components". Windows regional options is set to English (US), and within English (US) I've set the time format fo HH:mm:ss... (HH = 24-hour format, while hh = 12-hour format). I've attached a file with my settings, but my windows is in Portuguese... Best regards, Danielle AttachmentRegional Options.pdf (866 Downloads) |
6/5/2007 8:59 AM | |
Posts: 1084 Rating: (72)
|
Hi Danielle, I tested it and it seems their is a little bug in the control. When I set everything the same as your settings it works perfect. But there I have a project in the UK and set the regional settings to english (UK). With the UK setting I have the 24 hour time format in my windows task bar, but not in the wincc date/time control. That control still displays everything in AM/PM. Any solution for this? Or shall I just report it? with regards, Ikkezelf |
6/5/2007 1:37 PM | |
Posts: 1275 Rating: (123)
|
Hi Ikkezelf, I remembered reading some posts about English (UK) X English (US), so I searched the forum and here it is: this one, and also this one are from Salma, stating that date/time setting will only work properly under English (US). It concerns date, but she has problems exactly when she uses English (UK). Seems like these controls will only work right under En (US)... and if you need 24-hour with other language you'll need to create your own display... Best regards, Danielle |
Follow us on