milliseconds()

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

milliseconds()

Postby Otto » Sat Dec 17, 2022 4:56 pm

Dear Antonio,
is there a function milliseconds() in mod harbour.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: milliseconds()

Postby Otto » Sat Dec 17, 2022 5: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: milliseconds()

Postby Antonio Linares » Sat Dec 17, 2022 7:43 pm

Dear Otto,

You can use HB_MILLISECONDS()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: milliseconds()

Postby Otto » Sat Dec 17, 2022 9:11 pm

Dear Antonio,
thank you. I was searching for this quite a long time.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 7 guests