My teacher gave the whole class a challenge that

" Input date month and year and u have to find out the day of that given date . The year should be greater then 1800 " so any help he said you can take any help wether from friend google or anyone and if its done have to submit it in 6 hours so please help me out :)