Вниз
Скачать: CL | DM;

GetTime   Найти похожие ветки 

← →
UVV ©   (2004-11-28 11:26) [0]

Наверное меня заклинило, но gettime возвращает 30.12.1899, подскажите, а как время получить?


← →
GanibalLector ©   (2004-11-28 11:36) [1]


var
 DateTime : TDateTime;
 str : string;
begin
 DateTime := Time;  // store the current date and time
 str := TimeToStr(DateTime); // convert the time into a string
 Caption := str;  // display the time on the form"s caption
 { Note This could have been done with the following line of code:
   Caption := TimeToStr(Time); }
end;


← →
Anatoly Podgoretsky ©   (2004-11-28 11:55) [2]

Откуда функция, но судя по названию она должна время возвращать, а ты пытаешься с ней работать как с датой.



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

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.023 c
1-1101585715
GanibalLector
2004-11-27 23:01
2004.12.12
C: Windows Шаблоны Normal.dot


1-1101872940
HELPMEPLEASE
2004-12-01 06:49
2004.12.12
Как в DBGrid-e сделать фиксированые колонки


3-1100508460
neat
2004-11-15 11:47
2004.12.12
TDBLookupComboBox


14-1101106133
Ozone
2004-11-22 09:48
2004.12.12
Простой растровый редактор


1-1101876703
zunder
2004-12-01 07:51
2004.12.12
plug-in




   Наверх