>I found function TIMESTMP in library FNKSHN.PRG. DateTime stamp foms by formula:
>(Y-1980)*2**25 + M*2**21 + D*2**16 + TH * 2**11 + TM*2**5 + TS
>where
> Y,M,D - year, month, day
> TH, TM, TS - hours, minutes, seconds.
>But 5 bit is only for 30 sec! What algorithm for reconstruction Date and Time.
I know of another similar function (I can't remember what it was) and this function stored the seconds as seconds/2 so in that case you multiply the seconds by two. I would assume that this is the same.