This tag is for questions about combinatorial and computational issues with regards to calendar systems. A typical, well-known mathematical result in this direction is John Conway's Doomsday Algorithm for computing the "day of the week" associated to a given date.

learn more… | top users | synonyms

0
votes
1answer
20 views

What adjustments would be necessary to have a remainder of 0 associated with Sunday?

I was reading this below and I had a question: http://mathforum.org/dr.math/faq/faq.calendar.html Take a look under "The Key Value Method" where it says "A remainder of 0 corresponds to Saturday, 1 ...
0
votes
1answer
39 views

Why do you subtract 1 in a leap year if the date falls before March?

I was reading this below and I had a question: http://mathforum.org/dr.math/faq/faq.calendar.html Take a look under "The Key Value Method" where it says "If your date is in January or February of a ...
2
votes
0answers
69 views

Why this formula counts passed leap years in Persian arithmetic calendar?

I was reading about a calendar system with these characteristics: Years are grouped into cycles which begin with four normal years after which every fourth subsequent year in the cycle is a leap ...
1
vote
0answers
72 views

Question about Gauss' Determination of the first day of the year.

On the wikipedia article http://en.wikipedia.org/wiki/Determination_of_the_day_of_the_week#Gauss.27_algorithm it explains the Gaussian Formula for calculating the first day of the year. I was ...
1
vote
0answers
41 views

Get number of week by given date and day of week

Is there a formula to get the number of week by a given date and day of week for example Oct 15, 2014 wed. how do i get what number of week is it?
0
votes
0answers
10 views

Calculate day from x position, when some spacer elements are used

Look at the following sketch: This should be a calendar view. In the beginning and the end of each week a 2 px separator is used (blue line). A week consists of seven days. Each day has a certain ...
0
votes
0answers
81 views

About an answer given for Project Euler 19

The problem is here and someone gave this answer but I don't understand it even if I know the rule of large numbers. If you want to write a code for this, it is really boring. On the other hand, ...
0
votes
0answers
16 views

Find the datetime that is the true corresponding time to a calendar time in another year accounting for leap year

I want to make averages from values recorded on the hour. Because of leap time and the gregorian calendar, March 1st 12pm is not really the same point in earth's year when comparing this year with any ...
0
votes
0answers
137 views