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