- n = time:hour()
- n = time:minute()
- n = time:second()
- n = time:msec()
SYNOPSIS
DESCRIPTION
This set of functions is used to query the broken down component values of a time.
RETURN VALUE
Returns the single components of a time as a number.
ERRORS
Raises an error if time is not a time instance.
EXAMPLE
>
>
t = clock.newTime(10, 30, 0)
print(t:hour(), t:minute())
10 30