$date->hour()
Gets or sets the hour value
$date->hour(int $hour = null): int
Parameters
Name | Type | Default |
---|---|---|
$hour | int |
null |
Return type
int
Gets or sets the hour value
$date->hour(int $hour = null): int
Name | Type | Default |
---|---|---|
$hour | int |
null |
int