Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > Methods Reference for Siebel VB > Date and Time Methods > Extract Year From Date-Time Value MethodThe Extract Year From Date-Time Value method returns the year component of a date and time value. It returns this value as an integer in the range of 100 through 9999. It accepts any type of date, including strings, and attempts to convert the input value to a date value. The return value is an integer variable type. If the return value is null, then this method returns a null variable type. For more information, see Variants. FormatThe argument that this method uses is the same as the argument that the Convert String to Date method uses. For more information, see Convert String to Date Method. Example |
![]() ![]() |
Siebel VB Language Reference | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |