Jean Marie Geeraerts
asked on
Problem with system date of Domino on NT4.0
Hello, I'm still having trouble with the following:
I'd like to force Domino to display the date as dd/mm/yyyy in date fields and on the console.
I'm running Domino 5.0.5 on an NT Server 4.0 with Service Pack 6.
Normally, domino should use the settings as set in the operating system. And when I start domino manually it does exactly that. However, when domino is started as a service (the only way possible because of support reasons), it still displays dates as mm/dd/yyyy.
In a previous question it was suggested that domino uses the international settings of the Default user. I've changed the international settings for the short date notation and all other users in the registry to display dates as dd/mm/yyyy and the server has been rebooted after to make sure that all changes in the registry are activated, but I still get mm/dd/yyyy.
I don't know where to look next and this problem is getting quite annoying, because my input validations are all based on dd/mm/yyyy (and my users are used to type in dates like this) but domino insists on converting dates to mm/dd/yyyy.
Any ideas anyone ?
I'd prefer it if I could force domino to use the format I want, but if somebody can tell me how to get it right through the operating system that's okay too.
I'd like to force Domino to display the date as dd/mm/yyyy in date fields and on the console.
I'm running Domino 5.0.5 on an NT Server 4.0 with Service Pack 6.
Normally, domino should use the settings as set in the operating system. And when I start domino manually it does exactly that. However, when domino is started as a service (the only way possible because of support reasons), it still displays dates as mm/dd/yyyy.
In a previous question it was suggested that domino uses the international settings of the Default user. I've changed the international settings for the short date notation and all other users in the registry to display dates as dd/mm/yyyy and the server has been rebooted after to make sure that all changes in the registry are activated, but I still get mm/dd/yyyy.
I don't know where to look next and this problem is getting quite annoying, because my input validations are all based on dd/mm/yyyy (and my users are used to type in dates like this) but domino insists on converting dates to mm/dd/yyyy.
Any ideas anyone ?
I'd prefer it if I could force domino to use the format I want, but if somebody can tell me how to get it right through the operating system that's okay too.
(this points are mine! ;-))
Hello JM,
we had exactly the same problem, and we solved it.
The main thing is: default user and SYSTEM user are not the same ;-)
Ok, fact is: there is nowhere a panel to set desired values for SYSTEM user. So you have to do it by eyes and hand ;-)
Open REGEDIT and look for: "Control Panel\International"
There you will find all settings you would like to adjust.
Compare (or copy/replace) default user setting to other three occurances. To be on the safe side, export the whole key to file before replacing anything.
For example, in the key:
[HKEY_USERS\.DEFAULT\Contr ol Panel\International]
is this value:
"sShortDate"="dd.MM.yy"
Compare it to other ocurances and make it all the same.
(...and give ME the points :-))
Regards,
stamp
Hello JM,
we had exactly the same problem, and we solved it.
The main thing is: default user and SYSTEM user are not the same ;-)
Ok, fact is: there is nowhere a panel to set desired values for SYSTEM user. So you have to do it by eyes and hand ;-)
Open REGEDIT and look for: "Control Panel\International"
There you will find all settings you would like to adjust.
Compare (or copy/replace) default user setting to other three occurances. To be on the safe side, export the whole key to file before replacing anything.
For example, in the key:
[HKEY_USERS\.DEFAULT\Contr
is this value:
"sShortDate"="dd.MM.yy"
Compare it to other ocurances and make it all the same.
(...and give ME the points :-))
Regards,
stamp
ASKER
Okay, Hemanth's tip solved my problem partly. With custom settings the fields are displayed correctly on the form, however in views (where there's no such option) they're still displayed as on the server console.
Stamp,
For every user under the HKEY_USERS hive sShortDate allready has the same value : "dd/MM/yyyy", but the server keeps displaying the date the wrong way. I can't seem to be able to find the system user domino uses.
Stamp,
For every user under the HKEY_USERS hive sShortDate allready has the same value : "dd/MM/yyyy", but the server keeps displaying the date the wrong way. I can't seem to be able to find the system user domino uses.
Sorry JM,
you have to change .DEFAULT registry key.
Here the contenet:
[HKEY_USERS\.DEFAULT\Contr ol Panel\International]
"Locale"="00000407"
"sLanguage"="DEU"
"sCountry"="Germany"
"iCountry"="49"
"sList"=";"
"iMeasure"="0"
"sDecimal"=","
"sThousand"="."
"iDigits"="2"
"iLZero"="1"
"sCurrency"="DM"
"iCurrDigits"="2"
"iCurrency"="3"
"iNegCurr"="8"
"sDate"="."
"sTime"=":"
"sShortDate"="dd.MM.yy"
"sLongDate"="dddd, d. MMMM yyyy"
"iDate"="1"
"iTime"="1"
"iTLZero"="1"
"s1159"=""
"s2359"=""
This was enough for us to switch an English installed WinNT to be Domino German time/date display.
Regards,
stamp
you have to change .DEFAULT registry key.
Here the contenet:
[HKEY_USERS\.DEFAULT\Contr
"Locale"="00000407"
"sLanguage"="DEU"
"sCountry"="Germany"
"iCountry"="49"
"sList"=";"
"iMeasure"="0"
"sDecimal"=","
"sThousand"="."
"iDigits"="2"
"iLZero"="1"
"sCurrency"="DM"
"iCurrDigits"="2"
"iCurrency"="3"
"iNegCurr"="8"
"sDate"="."
"sTime"=":"
"sShortDate"="dd.MM.yy"
"sLongDate"="dddd, d. MMMM yyyy"
"iDate"="1"
"iTime"="1"
"iTLZero"="1"
"s1159"=""
"s2359"=""
This was enough for us to switch an English installed WinNT to be Domino German time/date display.
Regards,
stamp
I believe you have input locales to achieve that, in NT I heard that you can have main regional settings (eg: US English)and and other locales and choose that( eg: German).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Big thanks.
I finally found it. I copied all settings from my local user to .DEFAULT on the server. Rebooted and it worked!!
I finally found it. I copied all settings from my local user to .DEFAULT on the server. Rebooted and it worked!!
JM,
I am glad I could help an expert!
thank you for the points <| ;-))
I am glad I could help an expert!
thank you for the points <| ;-))
Cool !
ASKER
You're quite welcome. I've been struggling with this for a long time, so the points are well earned.
That will solve ur problem
~Hemanth