time
Fields
Here are the fields provided by this builtin:
Field name | Field description |
---|---|
year |
Current year |
month |
Current month (1 - 12) |
date |
Current date (1 - 31) |
day_of_week |
Current day of week (1 - 7) |
hour |
Current hour (0 - 23) |
minute |
Current minute |
second |
Current second |
timer |
Project timer |
days_since_2000 |
Days since 2000 (fractional) |
Methods
Here are the methods provided by this builtin that should be used as a statement rather than in an expression:
Method name | Method parameters | Method description |
---|---|---|
sleep |
seconds |
Pause the script for seconds seconds |
reset_timer |
None | Reset the project timer to 0 |
wait_until |
condition |
Pause the script until condition is truthy |