Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > Methods Reference for Siebel VB > Date and Time Methods > Extract Month From Date-Time Value MethodThe Extract Month From Date-Time Value method returns the month component of a date and time value. The return value is an integer variable type in the range of 1 through 12. 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. If the value in the date argument does not evaluate to a date and time or to a time value, then this method returns 0 (zero). For example: ExampleThe following example finds the month in the range of 1 through 12 and the day in the range of 1 through 31 for this Thursday: Sub Button_Click |
![]() ![]() |
Siebel VB Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |