Morning list,

I'm trying to convert a large number of seconds to a TTime.

To my surprise - without a Delphi background ;) - EncodeTime only takes
up to 59 seconds... ;)
Same for EncodeTimeInterval

So I ended up with something like:

IncSecond(EncodeTime(0,0,0,0), HugeNumberOfSecondsInteger);

is this the best way to do this or is there some smarter way I've missed?

Thanks,
Reinier
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to