Returns the hour of day of the current model date with respect to the start time/date and the model time unit.
This function is used for the 24-hour clock. For example, at 10:04:15.250 PM the result is 22.
Type | Description |
---|---|
int | The hour of day of the current model date with respect to the start time/date and the model time unit. |
Returns the hour of the day of the specified date.
This function is used for the 24-hour clock. For example, at 10:04:15.250 PM the result is 22.
Name | Type of value | Description |
---|---|---|
date | java.util.Date | A date, presented in the form of the Date Java class. |
Type | Description |
---|---|
int | The hour component of the specified date value, in the 24-hour format. |
-
How can we improve this article?
-