CurrentDate

STD.Date.CurrentDate ([in_local_time])

in_local_timeTRUE if the returned value should be local to the cluster computing the date, FALSE for UTC. Optional, defaults to FALSE.
Return:Today returns a Date_t representing the current date.

The CurrentDate function returns the current date. If the in_local_time parameter is TRUE the returned value is local to the cluster computing the date, if FALSE then the UTC value is returned.

Example:

IMPORT STD;
d1 := STD.Date.CurrentDate(True); 
     //d1 contains the current local date