FAQs on How to solve Problems on Calendar 1 Video Lecture  Quantitative Techniques for CLAT
1. How do I calculate the day of the week for a given date? 

Ans. To calculate the day of the week for a given date, you can use the Zeller's Congruence formula. This formula takes into account the day, month, and year to determine the day of the week. Here is the formula:
h = (q + (13(m+1)/5) + K + (K/4) + (J/4)  2J) % 7
In this formula,
 h represents the day of the week (0 for Saturday, 1 for Sunday, and so on)
 q represents the day of the month
 m represents the month (3 for March, 4 for April, ..., 12 for December, 13 for January, and 14 for February)
 K represents the year of the century (year % 100)
 J represents the zerobased century (year / 100)
Make sure to adjust the month and year values as per the formula requirements.
2. How can I find the number of days between two given dates? 

Ans. To find the number of days between two dates, you can subtract the earlier date from the later date. Consider the example:
Date 1: January 1, 2022
Date 2: March 15, 2022
To calculate the number of days between these dates, you can subtract Date 1 from Date 2:
Number of days = Date 2  Date 1 = March 15, 2022  January 1, 2022 = 73 days
Thus, there are 73 days between January 1, 2022, and March 15, 2022.
3. How do I determine if a given year is a leap year? 

Ans. To determine if a given year is a leap year, you can follow these rules:
 If the year is evenly divisible by 4, it is a leap year.
 However, if the year is also divisible by 100, it is not a leap year unless it is evenly divisible by 400.
For example, let's consider the year 2024:
 2024 is divisible by 4, so it satisfies the first condition.
 It is not divisible by 100, so it meets the second condition as well.
 Therefore, 2024 is a leap year.
On the other hand, let's consider the year 1900:
 1900 is divisible by 4, so it satisfies the first condition.
 However, it is also divisible by 100, which means it fails the second condition.
 Hence, 1900 is not a leap year.
4. How can I determine which day of the week a specific date fell on in the past? 

Ans. To determine which day of the week a specific date fell on in the past, you can use various online resources or historical calendars that provide information about the days of the week for particular dates.
You can search for historical calendars or websites that offer daybyday information about past dates. These resources often provide details about the day of the week for any given date, including the distant past. By using such resources, you can find the day of the week for a specific date in history.
5. How can I find the next occurrence of a specific day of the week after a given date? 

Ans. To find the next occurrence of a specific day of the week after a given date, you can follow these steps:
1. Start with the given date.
2. Check the day of the week for the given date.
3. If the day of the week matches the specific day you are looking for, move to the next week and repeat step 2.
4. If the day of the week does not match, increment the date by one day and repeat step 2.
5. Continue this process until you find the next occurrence of the desired day of the week.
For example, if you want to find the next occurrence of a Monday after May 10, 2022, you would:
 Start with May 10, 2022.
 Check that it is a Tuesday, not a Monday.
 Increment the date to May 11, 2022.
 Check that it is a Wednesday, not a Monday.
 Continue this process until you find the next Monday.