I believe that would be a calendar http://en.wikipedia.org/wiki/Calendar#Physical_calendars
There are 52 weeks in a year, which is derived from the fact that a year typically has 365 days. Since there are 7 days in a week, dividing 365 by 7 gives approximately 52.14 weeks. In leap years, which have 366 days, there are also about 52.29 weeks.
There are 4 weeks and 2 days in 30 days. This is calculated by dividing 30 by 7 (the number of days in a week), which gives 4 weeks with a remainder of 2 days.
1 year = 52 weeks 1 day 2 years = 104 weeks 2 days 3 years = 156 weeks 3 days 4 years = 208 weeks 4 days plus 1 leap day 5 years = 260 weeks 6 days
There are 459 weeks and 4 days in 9 years, because there are 3287 days in 9 years, because of leap years. Then divide by seven and you get 459 weeks and 4 days.
There are 7 days in a week so there are 3647 days in 521 weeks. There are about 365.256 days in a year so 521 weeks is about 9.98 years.
Calendar
There are 52 weeks in a year, which is derived from the fact that a year typically has 365 days. Since there are 7 days in a week, dividing 365 by 7 gives approximately 52.14 weeks. In leap years, which have 366 days, there are also about 52.29 weeks.
There are 4 weeks and 2 days in 30 days. This is calculated by dividing 30 by 7 (the number of days in a week), which gives 4 weeks with a remainder of 2 days.
#include<iostream> void num_to_years_weeks_days( unsigned num, unsigned& years, unsigned& weeks, unsigned& days) { years = num / 365; num -= years * 365; weeks = num / 7; num -= weeks * 7; days = num; } int main() { unsigned years, weeks, days; unsigned num = 1000; num_to_years_weeks_days(num, years, weeks, days); std::cout << num << " days is " << years << " years, " << weeks << " weeks and " << days << " days\n" << std::endl; num = 12345; std::cout << num << " days is " << years << " years, " << weeks << " weeks and " << days << " days\n" << std::endl; }
1 year = 52 weeks 1 day 2 years = 104 weeks 2 days 3 years = 156 weeks 3 days 4 years = 208 weeks 4 days plus 1 leap day 5 years = 260 weeks 6 days
There are approximately 39 weeks in 273 days. This is calculated by dividing 273 by 7 (the number of days in a week).
To convert 7 years and 22 weeks to days, first calculate the total days in 7 years (365 days/year * 7 years) and the total days in 22 weeks (7 days/week * 22 weeks). Then add these two totals together to get the final result, which is the total number of days in 7 years and 22 weeks.
There are 459 weeks and 4 days in 9 years, because there are 3287 days in 9 years, because of leap years. Then divide by seven and you get 459 weeks and 4 days.
There are 7 days in a week so there are 3647 days in 521 weeks. There are about 365.256 days in a year so 521 weeks is about 9.98 years.
714 weeks, 2 days
There are 6 weeks in 42 days. This calculation is based on the fact that there are 7 days in a week. By dividing 42 days by 7 days per week, we get a total of 6 weeks.
days in 4 years 365x4 = 1460 days days in 5 weeks 5x7 = 35 days total days 1460 + 35 = ?