currDate function in the System functions of the Factory

The currDate function returns the current date according to local or UTC settings.


Parameters

currDate(utc)

Parameter

Description

utc

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.


Example

The following example uses the Bike sales dataset.

Description

Screenshot

In this example, we want to add a new column reporting the current date.

We add a new attribute, called Today, and we type the following formula:

currDate()

and the attribute will be filled with the current date (in this case, the example has been written on the 13th of April, 2022).