Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Система";
Текущий архив: 2003.10.13;
Скачать: [xml.tar.bz2];

Вниз

Перевод часов   Найти похожие ветки 

 
tvic   (2003-07-31 18:32) [0]

Кто знает как можно программно перевести системные часики(те что в трее) на определенную дату или на опредделенный интервал вперед/назад? Спасибо


 
mrcat   (2003-07-31 18:45) [1]

SetSystemTime

The SetSystemTime function sets the current system time and date. The system time is expressed in Coordinated Universal Time (UTC).

BOOL SetSystemTime(
CONST SYSTEMTIME *lpSystemTime // system time
);
Parameters
lpSystemTime
[in] Pointer to a SYSTEMTIME structure that contains the current system date and time.
The wDayOfWeek member of the SYSTEMTIME structure is ignored.

Return Values
If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.


 
tvic   (2003-08-01 12:24) [2]

Спасибо. )))



Страницы: 1 вся ветка

Форум: "Система";
Текущий архив: 2003.10.13;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.014 c
14-40660
Jeer
2003-09-25 18:28
2003.10.13
Куда стащили анкету


3-40290
bushmen
2003-09-22 10:43
2003.10.13
Трёхзвенная архитектура


14-40587
Дмитри
2003-09-25 10:56
2003.10.13
Что лучше ?


3-40273
M126
2003-09-22 07:00
2003.10.13
Запрос на поиск


14-40673
jack128
2003-09-23 16:26
2003.10.13
Именинники 23 сентября





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский