- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Description
Type: DateTime
Returns the current local time, according to the host device.
Examples
// display the current time in the debugger
debug.log(tools.time);
Remarks
This is the current time of the device hosting your app instance, which is typically the local time of the user.
If you want the time measured in Universal time instead (across the entire globe), use tools.timeUtc.