CURRENT_YEAR macro
The CURRENT_YEAR
macro
is available in Unica Campaign and Unica Interact.
Syntax
CURRENT_YEAR()
Description
CURRENT_YEAR
returns the current year as a number.
Examples
If the current year is 2000, CURRENT_YEAR()
will return the number: 2000.
Related functions
Function | Description |
---|---|
CURRENT_DAY |
Returns the current day as a number. |
CURRENT_JULIAN |
Returns the current Julian number. |
CURRENT_MONTH |
Returns the current month as a number. |
CURRENT_TIME |
Returns the current time as a string. |
CURRENT_WEEKDAY |
Returns the current weekday as a number. |
MONTHOF |
Returns the month of the year as a number. |
WEEKDAYOF |
Returns the weekday of the week as a number. |
YEAROF |
Returns the year as a number. |