Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.04.23;
Скачать: 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 вся ветка

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

Наверх




Память: 0.46 MB
Время: 0.06 c
2-1144325836
Layner
2006-04-06 16:17
2006.04.23
Как правильно сделать "скользящий курсор" по выборке


2-1144314324
Cneltyn
2006-04-06 13:05
2006.04.23
Как вывести в Имидж содержимое другого Ммиджа в опр-ые координаты


2-1144691010
Дарья
2006-04-10 21:43
2006.04.23
listbox


1-1142596234
Dust
2006-03-17 14:50
2006.04.23
Скачал Indy 10, не могу установить


15-1143993758
ArtemESC
2006-04-02 20:02
2006.04.23
С помощь чего можно...