Antonio, elaptime mismo valor "horario" distintos valores.

Antonio, elaptime mismo valor "horario" distintos valores.

Postby goosfancito » Fri Apr 22, 2016 2:51 pm

Antonio.
Code: Select all  Expand view
? elaptime("06:57:42", "13:01:21"),;
     elaptime("6:57:42", "13:01:21")
 

Esos horarios son los mismos pero muestran valores diferentes.
podrian chequearlo por favor,

gracias.
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby Antonio Linares » Fri Apr 22, 2016 11:53 pm

Gustavo,

La función ElapTime() es de Harbour:

http://www.fivetechsoft.com/harbour-docs/harbour-reference-guide.htm#ElapTime

y este es su código fuente:
https://github.com/harbour/core/blob/master/src/rtl/samples.c

Yo suelo usar GetTickCount()
regards, saludos

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

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby Antonio Linares » Fri Apr 22, 2016 11:55 pm

Imagino que la diferencia viene de no usar el cero 0 antes del 6 en la segunda llamada a la función
regards, saludos

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

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby Silvio.Falconi » Sat Apr 23, 2016 2:58 pm

Antonio,
I made a application last year to calculate the attendance of the employees of a school with the monthly card (3 inputs and 3 outputs max)
maybe I can help his friend
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7045
Joined: Thu Oct 18, 2012 7:17 pm

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby goosfancito » Sun Apr 24, 2016 4:27 pm

bien bien.
gacias
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby Silvio.Falconi » Tue Apr 26, 2016 10:01 am

PLEASE WRITE TO PRIVATE EMAIL
silvio[dot]falconi[at]gmail[dot]com
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7045
Joined: Thu Oct 18, 2012 7:17 pm

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby goosfancito » Tue Apr 26, 2016 10:06 am

Asi es antonio,
Solo avisaba, pense que seguias con la colaboracion de harbour y que podias avisar.

Gracias!


Antonio Linares wrote:Imagino que la diferencia viene de no usar el cero 0 antes del 6 en la segunda llamada a la función
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Antonio, elaptime mismo valor "horario" distintos valores.

Postby Antonio Linares » Tue Apr 26, 2016 10:44 am

Gustavo,

Como usuario de Harbour tu mismo puedes reportarlo y asi colaboras a que mejore :-)

https://groups.google.com/forum/#!forum/harbour-users
regards, saludos

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


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests