Can you find out what day of the week was January 12, 1979?



Can you find out what day of the week was January 12, 1979?..

Answer / Pawan Kumar Pandey

To determine the day of the week for a given date, we can use the formula: day = (d + ((m - 3) / 4) + y + y/4 - y/100 + y/400) % 7 where d is the day (January is 1), m is the month (12 for January), and y is the year. Plugging in the values, we get: (12 + ((1 - 3) / 4) + 1979 + 1979/4 - 1979/100 + 1979/400) % 7 = (12 - 3 + 1979 + 494.75 - 19.79 + 4.75) % 7 = (2086.5) % 7 = 6 (modulo 7). Therefore, January 12, 1979 was a Friday.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More General Aptitude Interview Questions

A 6 inch length cylindrical through hole is drilled through the center of sphere, what will be the remaining volume of sphere ? In this question only one data is given ie., hole length - 6". In the question there is no mistake. Find the answer.

3 Answers  


who said that " Divide and rule "

4 Answers   TCS,


How would you measure 4 liters using jugs of 3l and 5l? Give a few solutions to this problem?

1 Answers   TCS,


A computer store regularly sells all stock at a discount of 20 percent to 40 percent. If an additional 25 percent were deducted from the discount price during a special sale, what would be the lowest possible price of a part costing $16 before any discount?

5 Answers   Dabur, Wipro,


7 students can complete a task of making 9 scientific models in 21 days. How many students can make 3 models in 14 days.

1 Answers   NTS,


will u please send me po exam sloved papers of iob

0 Answers  


Grace has 16 jellybeans in her pocket. She has 8 red ones, 4 green ones, and 4 blue ones. What is the minimum number of jellybeans she must take out of her pocket to ensure that she has one of each color

1 Answers  


I was born on October 17, 1927. How old I was on Jan. 26, 1978?

14 Answers   Rourkela Steel Plant, Vizag Steel,


HENN+EGG=46;HEN+EGG=?

8 Answers   Techruit, Temenos,


it has 20 mixutre conatins mil and water in the ratio 3:5,replace 4 litres of mixture with 4 litres of water what is the final ratio of milk and water.

1 Answers   Accenture,


There is square of side 6 cm .A circle is inscribed inside the square Find the ratio of area of circle to the squqre .

1 Answers   CMC,


In which of the system a) decimal no. 384 is equal to 1234 b)decimal no. 362 is given by (1362)x in the X system of numbers.

1 Answers   TCS,


Categories