time
provides the current time
Syntax
[#time year
month
day
hours
hours-24
minutes
seconds
time-string
time seconds
frames
ampm]
Attributes
year
- the current yearmonth
- the current month from 0 to 11day
- the current day of the month from 1 to 31hours
- current hour from 0 to 11hours-24
- current hour from 0 to 23minutes
- current minute from 0 to 59seconds
- current second from 0 to 59time-string
- the current time in a string of the formHH:MM AM/PM
timestamp
- the number of milliseconds since midnight January 1, 1970ampm
- a string indicating morning or eveningframes
- the number of frames elapsed since the program began. This fastest updating attribute on#time
, refreshing evey 16 milliseconds.
Description
Provides the current time as reported by the system clock.
Time updates at the frequency of the smallest unit of time selected in the record.
Examples
Prints the current time as a formatted string.
search
[#time hours minutes seconds]
bind @browser
[#div text: "The time is {{hours}}:{{minutes}}:{{seconds}}"]