year
| Explanation | Returns the year value of a date represented by date. | |
| Call format | var d = year( date ) | |
| Return value | Returns a number representing the year between 1900 and 2099. Otherwise it will be 0. | |
| Arguments | Date date | Date object to retrieve the year |
| Exception | None | |
| Example of use | | |
| Related item | month, day, youbi methods | |