Siebel eScript Language Reference > Siebel eScript Commands > The Date Object >

getFullYear() Method


This method returns the year of a Date object as a number with four digits.

Syntax

dateVar.getFullYear()

Parameter
Description
Not applicable
 

Returns

The year as a four-digit number, of the Date object specified by dateVar.

Example

For examples, read getDay() Method, setMilliseconds() Method, and setTime() Method.

See Also

GetDate() Method, getDay() Method, getHours() Method, getMinutes() Method, getMonth() Method, getSeconds() Method, getTime() Method, getYear() Method, and setFullYear() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003