A date and a new value for its year, for dates.setYear and dates.setUTCYear.
dates.setYear
dates.setUTCYear
Optional
The date to copy; it is not changed.
undefined Copy
undefined
The new year as a full number such as 2024; a value outside the range rolls the date over.
1 Copy
1
0
Infinity
Namespace: Bit › Inputs › Dates
Other symbols in Inputs.Dates:
API reference home · Full symbol index · Tutorials and guides · Platform
A date and a new value for its year, for
dates.setYearanddates.setUTCYear.