Siebel eScript Language Reference > Methods Reference > Date and Time Methods >

Get Year Method


The Get Year method returns the year portion of a date object as the offset from a base year of 1900. The offset is positive for any year that occurs after 1900 and is negative for any year that occurs before 1900. For example, if the value of dateVar is a date in the year 2004, then dateVar.getYear equals 104.

Format

dateVar.getYear()

Siebel eScript Language Reference Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.