Brian Dunning's FileMaker Custom Functions

Bisiesto ( Anio, Tipo )

Calcula si un año es o no bisiesto.

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

Miguel Angel Fernandez   Miguel Angel Fernandez

Share on Facebook Share on Twitter

  Sample input:
Bisiesto ( anio ; "T" ) o Bisiesto ( anio ; "B" )
  Sample output:
"Bisiesto" ó 1

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

En los años bisiestos febrero tiene 29 días. Esta es la base para calcular si el año dado es o no bisiesto.
Si el parámetro Anio no es un número válido devuelve "error". Si el parámetro Tipo no es "T" se da por defecto que es "B".

 

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: