Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.10.13;
Скачать: CL | DM;

Вниз

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

 
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;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.028 c
6-40558
AlexMan
2003-08-13 10:44
2003.10.13
Delphi и локальная сеть


14-40649
VictorT
2003-09-25 14:15
2003.10.13
Интересует ваше мнение по поводу...


4-40746
arous
2003-08-05 00:12
2003.10.13
Сеансы WinXP


3-40274
Sesh
2003-09-20 13:10
2003.10.13
Работа с DBF без использования BDE


3-40271
NorthMan
2003-09-22 18:56
2003.10.13
Через BDE следующий код работает: