The time/date format calls that Domino makes can receive incorrect information from the operating system under certain conditions. An example of this is Perfmon coming in with a different date. Domino is requesting Windows to display information in a given format. Windows remembers that format and when another application asks for time/date format, the one that Windows was using is displayed.
Unless you specify otherwise, Windows services run in a special account called the System Account. This special account is not the same as Administrator.
International settings are saved for each individual user account on the system. When Domino starts, it reads the International settings for the current user. The System Account is not a user; therefore, it uses the default International settings.
There are two alternatives to correct the problem:
Change the International settings for a specific user, then start the Windows service as that user. This is accomplished by accessing the Control Panel -> Services (or Control Panel -> Administrative tools -> Services, on some versions of Windows). Open the Domino service and change the log-on account to be that user.
Change the default International settings. There is no method for changing this through the Windows user interface; the Registry must be changed directly. The changes are made to the HKEY_USERS/.DEFAULT/Control Panel/International key.
Some additional info can be found at the following site: http://support.microsoft.com/directory/art...B;EN-US;Q241671
Note that having the regional settings set to a different date format on the host server can have an impact when running off-line Domino tasks, depending on the user profile they are run under (whether a user actually logs on or as part of a scheduled batch...).
у меня все заработало, только дата правильно выводитьтся, если в sDate стоит точка. при слеше не работает, тупо выводит месяц/ день/ год. и ничего помогает. до этого у меня был слеш. это как-то повлият на работу?