Extract the fractional part of a
ti (time index) or
jul (julian date) object as a normalized list of hours,
minutes, and seconds.
The fractional part of
x is multiplied by 86400 (the
number of seconds in a day) and rounded to get the number of seconds.
This is then divided by 3600 to get the number of hours, and the
remainder of that is divided by 60 to get the normalized number of
minutes. The remainder from the second division is the normalized
number of seconds.
A list with components:
Normalized number of hours
Normalized number of minutes
Normalized number of seconds
See the details.
Support for fractional days in
jul objects is
relatively new and untested. There is probably code lurking about
that assumes the numeric parts of
jul objects are
integers, or even code that may round them to make sure they are
integers. The fractional parts of
may not survive encounters with such code.
1 2 3