Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Born February, 29

Featured Replies

Hi all friends

does someone know if there are international rules for the birthday of a person born on february 29 ?

I think that if a baby was born on 02/29/2000, his birthdays were:

02/28/2001 firts year

02/28/2002 second year

02/28/2003 third year

02/29/2004 forth year ( on 02/28/2004 he was 3 years old)

If what I think is right (internatinal rule), the calc for the age in years format:




Year(theDate) - Year(birthday) - (theDate < Date(Month(birthday); Day(birthday); Year(theDate)))



is always good except in this case.

Edited by Guest
typo corrected

  • Author

Anyway this code does the trick:




Let([

y1 =If ( Mod( Year ( birthday ) ; 4 ) = 0 ; 1 ; 0 );

y2 =If ( Mod ( Year ( theDate ) ; 4 ) = 0 ; 1 ; 0 );

d =  If(Day ( birthday ) = 29;1;0);

m = If( Month ( birthday ) = 2;1;0);

cd = If(y1 *y2   = 0 and  d * m = 1;Date ( Month ( birthday ) ; Day ( birthday ) - 1 ; Year ( birthday ) );birthday)

];

Year(birthday) - Year(cd) - (theDate < Date(Month(cd); Day(cd); Year(theDate)))

)



Just a tip, Daniele. All of your Let vars up to and including m are boolean statements in their own right. So you can use

y1 = not Mod( Year(birthday); 4 );

y2 = not Mod( Year(theDate); 4 );

d = Day(birthday) = 29;

m = Month(birthday) = 2;

Hi all friends

does someone know if there are international rules for the birthday of a person born on february 29 ?

I think that if a baby was born on 02/29/2000, his birthdays were:

02/28/2001 firts year

02/28/2002 second year

02/28/2003 third year

02/29/2004 forth year ( on 02/09/2004 he was 3 years old)

If what I think is right (internatinal rule), the calc for the age in years format:




Year(theDate) - Year(birthday) - (theDate < Date(Month(birthday); Day(birthday); Year(theDate)))



is always good except in this case.

I think the answer should be 3 Years, 11 Months, 11 Days

on Feb 9, 2004.

What answer are you looking for.

Lee

  • Author

Hi Lee

just a typo...I had to write:

02/29/2004 forth year ( on 02/28/2004 he was 3 years old)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.