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

1
vote
1answer
128 views

4-4-5 retail calendar - calculating extra week

I have been tasked with making a 4-4-5 calendar for a retail reporting system (in javascript using moment.js but this shouldn't matter). http://en.wikipedia.org/wiki/4-4-5_calendar A 52 week year is ...
2
votes
0answers
60 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
54 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
35 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
7 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
57 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
14 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
96 views