In Progress

Equations: "Last Sunday in January"... and 25 more

Generate equations for the following dates-of-the-month. This is a small project for someone who is good at modular arithmatic.

Most of these will have a format, like:

(2 + 6 * thisYear - floor (thisYear / 4) ) % 7 + 1


31 -( floor (thisYear * 5 / 4) + 1) % 7

If you need more complexity for some, you can write in a syntax similar to C or Javascript.


Last Sunday in January

Third Sunday in February

Second Sunday in March

First Friday on or after 15 April

Third Sunday in March

Last Thursday of March

Last Sunday in March

Fourth Friday in March

First Sunday in April

Last Friday before April 2

First Sunday on or after 6 April

First Friday in April

Last Friday in April

First Sunday in April

Last Thursday in September

Last Friday in September

First Sunday in September

First Sunday on or after 8 September

First Sunday in October

First Friday on or after 15 October

Third Sunday in October

Last Friday in October

Last Sunday in October

First Sunday in November

The Sunday between Rosh Hashana and Yom Kippur -- Refer to: [url removed, login to view]


Thanks, I look forward to your bid.

- Michael

Skills: Algorithm, C Programming, Mathematics, Software Architecture

See more: syntax programming, programming javascript, january month, html syntax, good algorithm, fourth floor, month january, programming syntax, algorithm complexity, last, equations, february month, javascript algorithm, quot html, html quot, january, html javascript small project, fourth, look algorithm, modular programming, february, write algorithm project, write algorithm, complexity algorithm, write programming

About the Employer:
( 83 reviews ) Rockville, United States

Project ID: #813510

Awarded to:


Please see your inbox for further details.

$40 USD in 1 day
(2 Reviews)

5 freelancers are bidding on average $49 for this job


I can do it !

$65 USD in 3 days
(70 Reviews)

Please see your PM.

$30 USD in 0 days
(5 Reviews)

Please check PMB. I can complete this project in less than one day

$50 USD in 1 day
(0 Reviews)

I practice c and i am a mathematics passionate, i can complete this job fast and efficient.

$60 USD in 1 day
(0 Reviews)