YEAR(1)
PURPOSE
This function returns the year of a date value (type D) as a string (type A).
PARTS
1. f/c/e | Required - The date value to use. |
RETURN TYPE - A
This function returns a 4 character string.
EXAMPLE
define x type a size 4
x = year(date())
// x = '2012'