Problem:
Question 1- Write a function which will take Date as Parameter and return me no of sundays in that month.
Question 2- Write a function which will take Date as Parameter and return Firstdayofyear.
Question 3- Write a function which will take Date as Parameter and return FirstdayofQuarter.
Please describe the code with the help of comments.