Hi,
I am developing a timer in Delphi 2009. I am currently using the following to format my timer display:
Caption := Format('%.2d', [Hours]) + ':' +
Format('%.2d', [Minutes]) + ':' +
Format('%.2d', [Seconds]);
and this as expected displays the time as:
00:04:35
However, when I go into negative time it is understandably displaying it as:
00:-04:-35
I need the time to display as:
-00:04:35
Any Ideas?