$date->day()
Gets or sets the day value
$date->day(int|null $day = null): int<1, 31>
Parameters
| Name | Type | Default |
|---|---|---|
| $day | intornull |
null
|
Return type
int<1, 31>
Gets or sets the day value
$date->day(int|null $day = null): int<1, 31>
| Name | Type | Default |
|---|---|---|
| $day | intornull |
null
|
int<1, 31>