time() Function

Function

time( hour, minute, second, millisecond )

Converts the given time into an equivalent time value.

Parameters

Keyword Type Description

hour

Integer

The number of hours to add to the total.

minute

Integer

The number of minutes to add to the total.

second

Integer

The number of seconds to add to the total.

millisecond

Integer

The number of milliseconds to add to the total.

Returns

Time

Usage considerations

The time can be treated both as duration (for example, Joe ran the marathon in 3 hours and 23 minutes) and as a point in time (for example, we have a meeting at 3:23PM every day).

Examples

time(14,20,23) returns 2:20 PM

Open in Github Built: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK