The currDatetime function returns the current datetime according to local or UTC settings.
A binary value (True/False) controlling if local or UTC settings must be used. Set as False as default.
The binary parameter values (True/False) are case sensitive.
The following example uses the Bike sales dataset.
In this example, we want to add a new column reporting the current date and time.
We add a new attribute, called Today, and we type the following formula:
and the attribute will be filled with the current date and time(in this case, the example has been written on the 13th of April, 2022 at 15:49, the time has an accuracy of milliseconds).