CURRENT_WEEKDAY
Syntax
CURRENT_WEEKDAY()
Description
CURRENT_WEEKDAY
returns the current day of the week as a number between 0-6. Sunday is represented as 0, Monday as 1, and so on.
This macro is available in
IBM
®
Unica
®
Interact
.
Examples
If today is Friday,
CURRENT_WEEKDAY()
will return the number 5.
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_YEAR
Returns the current year as a number.
Copyright IBM Corporation 2013. All Rights Reserved.