Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

How to pull out seconds from Time and translate Find similar branches


Dreamer   (2001-12-15 19:34) [0]

are those seconds in integer? Suppose 00: 01: 30-> 90: Double-> 90: Integer;



Nikolay   (2001-12-15 19:55) [1]

decodetime

That's it! (With)



Anatoly Podgoretsky   (2001-12-15 20:57) [2]

Trunc (TimeVar * 86400)



Dreamer   (2001-12-15 21:45) [3]

And it is possible in more detail, about decodetime, I just didn’t find it in the help, when entering parameters it screams that these are not the parameters, or that they should be of the same type.
About Trunc is very poor, he curses me on something like Int64, etc.



Anatoly Podgoretsky   (2001-12-15 21:50) [4]

Yes, bring your code and get more.



Tosov   (2001-12-15 22:00) [5]

StrToInt (Copy (TimeToStr (Time), 7,2));



Dreamer   (2001-12-15 22:02) [6]

Function GetCustNo (e1: Integer): integer;
begin

Form3.Query1.Close;
Form3.Query1.ParamByName ("Time"). AsInteger: = e1;
Form3.Query1.Open;
GetCustNo: = Form3.Query1.FieldByName ("RadPor"). AsInteger;
end;
In e1, I need to substitute seconds from time, I understand that you need to substitute in integer, respectively, the minutes should also smoothly turn into seconds :)



KilkennyCat   (2001-12-16 06:17) [7]

was
Hour, Min, Sec, MSec: Word;
begin
DecodeTime (now, Hour, Min, Sec, MSec);



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.57 MB
Time: 0.024 c
1-22196
T2
2001-12-16 07:18
2002.01.08
Desktop off


1-22136
Dorixe
2001-12-20 09:40
2002.01.08
Proekt


3-21921
MVova
2001-12-04 10:41
2002.01.08
Connection many to many;)


14-22345
petr_v_a
2001-11-05 20:13
2002.01.08
In defense of Lana Rozanova & Co !!!


3-21995
Dmitry D.
2001-12-07 08:00
2002.01.08
Error BDE got out ... I do not understand what could be the problem





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish