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

Вниз

Преобразование типов(время в строку) в KOL_MCK   Найти похожие ветки 

 
igorek_2005   (2006-05-13 08:16) [0]

Уважаемые Мастера возник вопрос по KOL_MCK, мне нужно перевести время в строчный тип. в VCL я это делал так TimeToStr(Time). Но в KOL это не работает а в функциях я не нашел аналога этой функции, подскажите как это сделать.


 
Thaddy   (2006-05-13 10:03) [1]

<quote>
function Date2StrFmt( const Fmt: String; D: TDateTime ): String;
{* Represents date as a string correspondently to Fmt formatting string.
  See possible pictures in definition of the function Str2DateTimeFmt
  (the first part). If Fmt string is empty, default system date format
  for short date string used. }
function Time2StrFmt( const Fmt: String; D: TDateTime ): String;
{* Represents time as a string correspondently to Fmt formatting string.
  See possible pictures in definition of the function Str2DateTimeFmt
  (the second part). If Fmt string is empty, default system time format
  for short date string used. }
function DateTime2StrShort( D: TDateTime ): String;
{* Formats date and time to string in short date format using current user
  locale. }
</quote>


 
igorek_2005   (2006-05-14 14:20) [2]

Большое спасибо, сейчас попробую!



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

Текущий архив: 2007.02.04;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.032 c
6-1156835616
DVM
2006-08-29 11:13
2007.02.04
Потокобезопасность connect(), socket(), select() и прочее


15-1168587675
Ega23
2007-01-12 10:41
2007.02.04
Вопрос для знатоков Oracle


15-1168723083
kolyann..
2007-01-14 00:18
2007.02.04
Нужен заголовочный файл для работы с com-портом


2-1168957625
cvg
2007-01-16 17:27
2007.02.04
Что за чудеса с проверкой на nil?


2-1168951673
RomanH
2007-01-16 15:47
2007.02.04
Fast Report для FIBPlus