Skip to main content

Day of the Week ஐ எப்படி கணக்கிடுவது

Day of the Week என்றால் என்ன?

A day-of-week calculator determines what day of the week any given date falls on. The Doomsday algorithm (Conway) or modular arithmetic can compute this for any date in the Gregorian calendar.

படிப்படியான வழிகாட்டி

  1. 1Use the formula: (d + m + y + y/4 − y/100 + y/400 + c) mod 7
  2. 2d=day, m=month code, y=year, c=century adjustment
  3. 3Or simply count forward/backward from a known reference date
  4. 4JavaScript: new Date("YYYY-MM-DD").getDay() → 0=Sunday, 6=Saturday

தீர்க்கப்பட்ட எடுத்துக்காட்டுகள்

உள்ளீடு
July 4, 1776
முடிவு
Thursday
US Independence Day
உள்ளீடு
January 1, 2000
முடிவு
Saturday
Y2K millennium

கணக்கிடத் தயாரா? இலவச Day of the Week கால்குலேட்டரை முயற்சிக்கவும்

நீங்களே முயற்சிக்கவும் →

அமைப்புகள்