Brian Dunning's FileMaker Custom Functions

leapyear ( date )

Calculates if a certain year is a leapyear

  Average rating: 4.4 (30 votes) Log in to vote

Joost Miltenburg   Joost Miltenburg
newbase
http://www.newbase.nl

Share on Facebook Share on Twitter

  Sample input:
Leapyear (1/1/1900) ;
Leapyear (1/1/2000) ;
Leapyear (1/1/2004)
  Sample output:
0 ; 1 ; 1

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

A leapyear is a year that occurs once every 4 years and 400 years. The year 1900 , 2100 etc won't be a leapyear. 2000 was.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.