--- title: "leapyear()" slug: "date-leap-year" updated: 2026-08-13T08:41:32Z published: 2026-08-13T08:41:32Z canonical: "docs.lobstersoftware.com/date-leap-year" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # leapyear() This function returns "true" if the given date **a** is a leap year. ## Parameters | Parameter | Description | | --- | --- | | a | Date | ## Examples | Parameter a | Result | | --- | --- | | 2005-01-05 | false | | 2008-01-05 | true |