Current time
Syntax
now()
Description
Constructs a date value that represents the current time (in the user calendar). Compatible with tl.core:DateTime
values.
Return value
Type: Business Object
A date value corresponding to the current time according to the user calendar.
Examples
Note: The output may differ depending on the calendar time zone.
Unformatted date
now()
Output: 06.10.2021
Formatted date
dateFormat("dd-MM-yyy hh:mm:ss").format(now())
Output: 06-10-2021 02:33:35