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

just a little bug v2.10   Найти похожие ветки 

 
ebta   (2005-08-28 02:34) [0]

I fail when convert Str to datetime using Str2DateTimeFmt
ex. Str2DateTimeFmt("HH:mm","18:23") result is 00:00

I found in the SystemTime2DateTime function
when i change wMonth >= 0 and wDay >= 0 (or remove it, just like in v2.00), its works fine.

thanks for great components.


 
Vladimir Kladov   (2005-08-28 20:37) [1]

Thnk youin 2.11 will fix to
 if {(wYear >= 0) !always true! and} (wYear <= 9999) and
   {(wMonth >= 1) and !otherwise can not convert time only!}
   (wMonth <= 12) and
   {(wDay >= 1) and !otherwise can not convert time only!}
   (wDay <= DayTable^[wMonth]) and                                      //
   (wHour < 24) and (wMinute < 60) and (wSecond < 60) and (wMilliSeconds < 1000) then   //
and now with comments why these checks should not be there...



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

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



Память: 0.44 MB
Время: 0.03 c
3-1141321521
ihtiandr
2006-03-02 20:45
2006.04.23
Функция номера записи


15-1144126390
Ega23
2006-04-04 08:53
2006.04.23
С Днём рождения! 4 апреля


9-1128460131
Chuvak
2005-10-05 01:08
2006.04.23
Движок с нуля


2-1144511412
Volodya_
2006-04-08 19:50
2006.04.23
TMediaPlayer


2-1143981521
новичок111
2006-04-02 16:38
2006.04.23
Как сделать пакет данных???




   Наверх