[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|              YEAR               |
+---------------------------------+
YEAR(<expD>)

-----------------------------------
Returns year from <expD>.
Return value - Numeric
-----------------------------------

The year is always returned as a four digit number, regardless of the
state of SET CENTURY.

+---------------------------------+
|             Examples            |
+---------------------------------+
? YEAR(DATE())

? MOD(YEAR(DATE()), 4)

-----------------------------------

See Also:  CDOW(), CMONTH(), CTOD(), DATE(), DMY(), DOW(), MDY()

-----------------------------------

See Also: CDOW() CMONTH() CTOD() DATE() DMY() DOW() MDY()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson