Investment Studio > Expressions > Functions > Date & Time > TIME

time time(integer hour, integer minute, integer second)

Returns the time (a single float interpreted as the fraction of a day that has elapsed since midnight) specified by hour, minute and second.

The hour must be in the range [0, 23] (24 hour notation). The minute and second must both be in the range [0, 59].

Example

10:17:23 PM is

=time(22, 17, 23)

which, if interpreted as a plain float, equals 0.928738425925926.

See also hour, minute, month, now, second, timevalue.