year()

Returns the current year as a number such as 1999.

उदाहरण

Returns

Integer: current year.
Notice any errors or typos? Please let us know. Please feel free to edit src/utilities/time_date.js and open a pull request!

संबंधित संदर्भ