Page 1 of 1

milliseconds()

PostPosted: Sat Dec 17, 2022 4:56 pm
by Otto
Dear Antonio,
is there a function milliseconds() in mod harbour.
Best regards,
Otto

Re: milliseconds()

PostPosted: Sat Dec 17, 2022 5:02 pm
by Otto
Dear Antonio,
I found a workaround:
If I subtract a number from seconds() and add it back, it shows decimal places.

hData[ 'seconds' ] := 10 + seconds()-a -10


Best regards,
Otto

Re: milliseconds()

PostPosted: Sat Dec 17, 2022 7:43 pm
by Antonio Linares
Dear Otto,

You can use HB_MILLISECONDS()

Re: milliseconds()

PostPosted: Sat Dec 17, 2022 9:11 pm
by Otto
Dear Antonio,
thank you. I was searching for this quite a long time.
Best regards,
Otto