In reply to peter:
The ‘%t’ format specifier is designed to display $time or $realtime per the $timeformat specified. You are passing a negative number (which time can never be), so you are likely seeing a large unsigned time interpretation.
Why are you trying to use ‘%t’ with negative numbers?