getSeasonYear()
getSeasonYear(int $timestamp = null) : string
Gets the season associated with a date.
Parameters
| int | $timestamp | The timestamp to get the season for. If it isn't provided, uses the current timestamp. |
Returns
string —The season (Nationals year) associated with a timestamp.