Maurilio,

(desculpe, nao entendi sua resposta)
sorry, did not understand your answer.

(As Funçoes TimeToSec(cTime) e SecToTime(nSec), estao com os retornos
errados.)
The Functions TimeToSec (ctime) and SecToTime (NSEC), are with the returns
wrong.

TimeToSec( "24:00:00" ) //--> 
(Esta Retornando) This recurring == 0.00 

(Sendo que o correto deveria ser) Being that the correct should be
TimeToSec( "24:00:00" ) //--> 86400

(O mesmo acontece com a SecToTime()) The same goes for SecToTime ().

Thanks, Ale






Maurilio Longo wrote:
> 
> Ale,
> 
> clipper 5.2e gives
> 
> TimeToSec("24:00:00") -> -1
> TimeToSec("23:59:59") -> 86399
> TimeToSec("00:00:00") -> 0
> SecToTime(86400) -> "00:00:00"
> 
> 
> Best regards.
> 
> Maurilio.
> 
> Ale SB wrote:
>> Please review the functions of ctTime.Prg.
>> 
>>   ? TimeToSec("24:00:00")  //--> 0.00
>>   ? SecToTime(86400)       //--> "00:00:00"
>> 
>> right should not be:
>> 
>>   ? TimeToSec("24:00:00")  //--> 86400
>>   ? SecToTime(86400)       //--> "24:00:00"
>> 
>> Thanks, Ale
>> 
> 
> -- 
>  __________
> |  |  | |__| Maurilio Longo
> |_|_|_|____| farmaconsult s.r.l.
> 
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Revise-the-return-of-the-functions%3A-TimeToSec-and-SecToTime...-tp28657429p28658025.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to