YY - Extract the year without century (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$YY{date}

Description

Return the year from a date.

Parameters

date
A numeric parameter that can be omitted.
The date in numeric format or the year with century e.g. 1997. If omitted, the current machine date is used.

Returns

A numeric value. The Year without the century. ie. 96 not 1996.