# Calendar

**This trick must be used when we need to calculate previous date from the given date.**

##### On **15 April 1998** was **Wednesday**. so What was The day on **7 May 1996**.

##### First of all we must Know:

0^{th} odd day=Sunday

1^{th} odd day=Monday

2^{th} odd day=Tuesday

3^{th} odd day=Wednesday

4^{th} odd day=Thursday

5^{th} odd day=Friday

6^{th} odd day=Saturday

### STEP 1 :

First of all we calculate the total number of days between the date **7 May 1996** to **15 April 1998**

Number of Days in1996 | ||
---|---|---|

May | 24 | |

Jun | 30 | |

Jul | 31 | |

Aug | 31 | |

Sep | 30 | |

Oct | 31 | |

Nov | 30 | |

Dec | 31 | |

Number of Days in1997 | ||

Jan | 31 | |

Feb | 28 | |

Mar | 31 | |

Apr | 30 | |

May | 31 | |

Jun | 30 | |

Jul | 31 | |

Aug | 31 | |

Sep | 30 | |

Oct | 31 | |

Nov | 30 | |

Dec | 31 | |

Number of Days in1998 | ||

Jan | 31 | |

Feb | 28 | |

Mar | 31 | |

Apr | 15 | |

Total No. of Days | 708 |

### STEP 2 :

Now we calculate the **odd day number** and for that we have to divide the total number of days with 7**(1week=7days)** and reminder will be our odd day number.

708 / 7 = 1 odd days **(1 is Reminder)**

### STEP 3 :

As we know given day is **Wednesday** which is
**3 ^{th} odd day**

Let the odd Number associated with the day on **7 May 1996** is 'X'

Wednesday on 15 April 1998 = **3** odd day

so '**X + 1 = 3**'

Now we have to put the value of '**X**' as after dividing '**X + 1**' with '**7**' reminder will be '**3**'

so '**X = 2**' and day is '**Tuesday**'