Home Contents | # time() | Date/Time | Core4 Lua Commands

## SYNOPSIS

h, m, s, ms = time()

## DESCRIPTION

A time in function context returns the hour, minute, second and millisecond values.

## ERRORS

Raises an error if time is not a time instance.

## EXAMPLE

> >
t = clock.currentTime() print (t())
11 16 41 586

## SEE ALSO

clock.currentTime, clock.newTime, time:addMSecs, time:addSecs, time:format, time:hour, time:isNull, time:isValid, time:millisecondsFromMidnight, time:minute, time:minutesFromMidnight, time:msec, time:msecsTo, time:second, time:secondsFromMidnight, time:secsTo, time:set, tostring(time)