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)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour