>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.
Isn't datetime() good for that ? It stores datetime up to milliseconds accuracy in 8 bytes and also for stamping sys(2015) seem perfect.
Cetin