0% found this document useful (0 votes)
11 views7 pages

Calculating Leap Year Durations

The document discusses calculating the duration between two dates by following three rules: 1) Subtract the older date from the newer date. Subtract the days first, then months, then years. 2) When subtracting months, borrow 28, 29, 30, or 31 days depending on the month. 3) When subtracting years, borrow 12 months. Three examples are provided to demonstrate calculating durations between dates with differing days, months, and years.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views7 pages

Calculating Leap Year Durations

The document discusses calculating the duration between two dates by following three rules: 1) Subtract the older date from the newer date. Subtract the days first, then months, then years. 2) When subtracting months, borrow 28, 29, 30, or 31 days depending on the month. 3) When subtracting years, borrow 12 months. Three examples are provided to demonstrate calculating durations between dates with differing days, months, and years.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Duration

Chapter 4: Time
! Important Notes
A normal year has 365 days. A
leap year has 366 days (the extra
day falls on 29 February)
Any years that can be divided by 4
are leap years
When finding the duration of
times, always add 1 day to the
Days.
The Three Rules
Calculate the duration between any two dates

Subtract "older"
date from "newer" When borrowing
date Subtract the Days
from month, you
first follow by
are borrowing
Newer 2021/05/26 Months and Years.
28/29/30/31 days.
Older - 2020/03/12 Eg: YYYY - MM - DD
For years, you are
borrowing 12
months
Exercises
Duration
Different days

7 July 2019 to 24 July 2019


Duration
Different days and months

12 Mac 2021 - 30 May 2021


Duration
Different days,months and years

13 November 2017 - 25 January 2021

You might also like