2012/6/20 <dhkblaszyk at zeelandnet.nl>: > Try > > > > MyTTime := HugeNumberOfSecondsInteger / (3600 * 24); MyTTime := HugeNumberOfSecondsInteger / SecsPerDay; The predefined constants from SysUtils look nicer.