Applies To:
  • CitectSCADA 4.xx, 5.xx

Summary:
The trend screens are displaying US date format i.e. MM/dd/yy. I want them to display dd/MM/yy. I have changed the Regional Settings in the Control Panel to English (Australian) and the short date settings are correct. They are now set to d/MM/yy. However, when I go back to the trend screens they are still displaying the US date format. 

Solution:
The trends use the settings in the file win.ini which is located in the <WINROOT> directory. Sometimes when the Regional Settings are changed the win.ini file doesn't get updated. If you have a look at the win.ini file and the [intl] section looks like this

[intl]
iCountry=1

then the settings are still in US format.

You can change these setting manually. The settings for Australia should look something like this

[intl]
iCountry=61
ICurrDigits=2
iCurrency=0
iDate=1
iDigits=2
iLZero=1
iMeasure=0
iNegCurr=1
iTime=0
iTLZero=0
s1159=AM
s2359=PM
sCountry=Australia
sCurrency=$
sDate=/
sDecimal=.
sLanguage=ena
sList=,
sLongDate=dddd, d MMMM yyyy
sShortDate=d/MM/yy
sThousand=,
sTime=:

Change your date format to d/MM/yy and your trend files will display correctly.

Note:    You may also wish to change the date to d/MM/yyyy to display 4 digit dates in short format.

 

Keywords:
 

Attachments