Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Date and Time Methods > getYear() MethodThis method returns the year portion of a Date object as the offset from the base year 1900. SyntaxReturnsThis method returns the year portion of dateVar as the offset from the base year 1900. The offset is positive for years after 1900 and is negative for years before 1900. UsageThis method returns the year portion of dateVar as the offset from the base year 1900. For example, if the value of dateVar is a date in the year 2004, then dateVar.getYear() = 104. See Also |
Siebel eScript Language Reference |