YR - Extract the year with century (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$YR{date}

Description

Return the year from a date.

Parameters

date
A numeric parameter that can be omitted.
The date in numeric format. If omitted, the current machine date is used.

Returns

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