Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Date and Time Methods > Extract Hour From Date-Time Value MethodThe Extract Hour From Date-Time Value method returns the hour component of a date and time value. The return value is an integer variable type in the range of 0 through 23. Note the following:
You can use the Convert String to Time method to get the correct value for a specific time. FormatThe argument that this method uses is the same as the argument that the Convert String to Time method uses. For more information, see Convert String to Time Method. If the value that the minute argument contains does not evaluate to a date and time or to a time value, then this method returns 0 (zero). For example: |
Siebel VB Language Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |