FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour milliseconds()
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
milliseconds()
Posted: Sat Dec 17, 2022 04:56 PM

Dear Antonio,

is there a function milliseconds() in mod harbour.

Best regards,

Otto

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: milliseconds()
Posted: Sat Dec 17, 2022 05:02 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: milliseconds()
Posted: Sat Dec 17, 2022 07:43 PM

Dear Otto,

You can use HB_MILLISECONDS()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: milliseconds()
Posted: Sat Dec 17, 2022 09:11 PM

Dear Antonio,

thank you. I was searching for this quite a long time.

Best regards,

Otto

Continue the discussion