• Познакомьтесь с пентестом веб-приложений на практике в нашем новом бесплатном курсе

    «Анализ защищенности веб-приложений»

    🔥 Записаться бесплатно!

  • CTF с учебными материалами Codeby Games

    Обучение кибербезопасности в игровой форме. Более 200 заданий по Active Directory, OSINT, PWN, Веб, Стеганографии, Реверс-инжинирингу, Форензике и Криптографии. Школа CTF с бесплатными курсами по всем категориям.

дата

  • Автор темы lapo4ka
  • Дата начала
L

lapo4ka

добрый день! помогите пожалуйста...как поменять дату сервера с месяц/день/год на день/месяц/год? :lol:
 

puks

Lotus Team
03.02.2007
1 919
55
BIT
3
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:

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...).
 
L

lapo4ka

те мне просто поменять sShortDate на "dd/mm/yyyy" и дата на сервере изменится?
 
L

lapo4ka

поменяла на "d/M/yyyy". теперь сервер перегрузить? дата так и осталась "03/12/2007"
 
L

lapo4ka

перезагрузила - не поменял дату((((((((((
 
L

lapo4ka

да...я уже сам комп перезапустила. все равно. может он дату еще откуда-то тянуть?
 

puks

Lotus Team
03.02.2007
1 919
55
BIT
3
Под каким Account запускается сервис? Проверь еще раз, что в регистре для этого пользователя установлен правильный формат даты.
Какая вообще версия сервера? И где выводится неправильный формат?

<!--QuoteBegin-lapo4ka+12:03:2007, 08:21 -->
<span class="vbquote">(lapo4ka @ 12:03:2007, 08:21 )</span><!--QuoteEBegin-->поменяла на "d/M/yyyy".
[snapback]58780" rel="nofollow" target="_blank[/snapback]​
[/quote]

Так ты поменяла на "d/M/yyyy" или на "dd/MM/yyyy"?
В какой ветке регистра ты сделала изменения?
А что у тебя стоит в регистре для этого пользователя в sDate параметре?
 
L

lapo4ka

у меня все заработало, только дата правильно выводитьтся, если в sDate стоит точка. при слеше не работает, тупо выводит месяц/ день/ год. и ничего помогает. до этого у меня был слеш. это как-то повлият на работу?

спасибо вам за помощь!!!!
 

puks

Lotus Team
03.02.2007
1 919
55
BIT
3
Это вообще очень странно.

Вот, что у Microsoft по этому поводу говорится.

Regional Options in Control Panel links the sDate and sShortDate entries. This ensures the date separator and the date format are synchronized.
 
I

inik

пишешь в консоли
set conf dateorder=dmy
если хочешь dd.mm.yy то
set conf dateseperator=.

а вобщето это актуально для unix , на виндах меняется в панели управления
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!