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

From Catalyst
Revision as of 13:05, 22 September 2016 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.