Class: Date
Description
This method returns the formatted numeric year of a specified Date. The century of the year will be included if the format code being used by the process is formatted to include the century.
Syntax
dateObject.year()
Parameters
None
Returns
The formatted numeric year portion of a Julian date.
When Became Available
Profile v6.4
Example
type RecordCIF cif = Db.getRecord("CIF",":ACN")
type Date date = cif.dob // declare Date object
type String DAY = date.day()
type String MONTH = date.month()
type String YEAR = date.year()
* Variable ACN must be defined prior to the getRecord statement.