Here, we will calculate the weeks between 31st December 2017 and 1st January 2018. 31st December 2017 was a Saturday. So 1st January 2018 will be a Sunday in the next week.
- Hence, Weeks = 1 since both the days are in different weeks.
- Years = 1 since both the days are in different calendar years.
- Months = 1 since both the days are in different months of the calendar.