DAY - Convert a DOW or date into a day string (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$DAY{date}

Description

Return the day name from a day of week or date.

The system will automatically detect if the parameter is a "dow" or a "date".


Parameters

date
A numeric parameter that can not be omitted.
The input date in numeric format, or day of the week if one of the values shown below.
1
Monday.
2
Tuesday.
3
Wednesday.
4
Thursday.
5
Friday.
6
Saturday.
7
Sunday.

Returns

A text value. The day name eg. Sunday, Monday etc.