Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The Date.isLeapYear() function returns a boolean depending if the year in the date is a leap year or not.


Return Value

True if it is a leap year else false.

Example
Date.isLeapYear(2017);
//false

  • No labels