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