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