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