NAME
Seconds2DatetimeQuantity — Convert some number of seconds into a datetime quantity.
SYNOPSIS
Seconds2DatetimeQuantity SecondsValue
DESCRIPTION
Return Value
A string of the form ddddThh:mm:ss, which contains number of days, hours, minutes, and seconds the seconds converts into.
Arguments
SecondsValueAn integer number of seconds. Note that this can be a negative value.
More Info
Currently, the datetime quantity must be of the form ddddThh:mm:ss, where dddd is four digits for the number of days to add or subtract, hh is two digits for the number of hours, and mm and ss are for minutes and seconds.

You can pass in a negative number of seconds. If you do, the datetime quantity returned will be prefixed by a minus sign.

We may, in a future release, allow changing the format of the datetime quantity.


For information regarding exceptions / errors, see here.
EXAMPLES
% Seconds2DatetimeQuantity 90061
0001T01:01:01
% Seconds2DatetimeQuantity -90061
-0001T01:01:01
SEE ALSO
DatetimeQuantity2Seconds, Seconds2Hhmmss
KEYWORDS
conversion, datetime, time