moment().year(Number); moment().year(); // Number moment().years(Number); moment().years(); // Number
Gets or sets the year.
Accepts numbers from -270,000 to 270,000.
moment().year(Number); moment().year(); // Number moment().years(Number); moment().years(); // Number
Gets or sets the year.
Accepts numbers from -270,000 to 270,000.
From here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| ← | Previous page |
| → | Next page |
| s | Search |