YEAR |
year extracts the year from a date.
year( exp_date )
|
Element |
Description |
Restrictions |
|
exp_date |
Date type expression. |
None. |
# What year is it?
ANCOUR = year (date$)
year extracts the year from a valid date.
The result is an Integer type.
|
Error |
Description |
|
ERMODE (10) |
Incorrect argument. |
|
ERDATE (56) |
Incorrect date |
MONTH - DAY - MONTH$ - DAY$ - GDAT$ - DAYN - NDAY - NDAY$ - DATE$ - DATESYST - DATE
|
|