Ale,

yo no hablo portugues (nor spanish for that matter :))

Anyway, I did some tests with clipper 5.2e and I've reported what clipper
gives as result.

He probado con el compilador clipper 5.2e y les he informado de los resultados
(this is google translation).

Best regards.

Maurilio

Ale SB wrote:
> 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
>>
>>
> 

-- 
 __________
|  |  | |__| 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

Reply via email to