Note that there are some explanatory texts on larger screens.

plurals
  1. POCode Golf: Calculate Orthodox Easter date
    primarykey
    data
    text
    <p><strong>The Challenge</strong></p> <p>Calculate the Date of the Greek Orthodox Easter (<a href="http://www.timeanddate.com/holidays/us/orthodox-easter-day" rel="nofollow noreferrer">http://www.timeanddate.com/holidays/us/orthodox-easter-day</a>) Sunday in a given Year (1900-2100) using the least amount of characters.</p> <p><strong>Input</strong> is just a year in the form '2010'. It's not relevant where you get it (Input, CommandLineArgs etc.) but it must be dynamic!</p> <p><strong>Output</strong> should be in the form day-month-year (say <code>dd/mm/yyyy</code> or <code>d/m/yyyy</code>)</p> <p><strong>Restrictions</strong> No standard functions, such as Mathematica's <a href="http://reference.wolfram.com/mathematica/Calendar/ref/EasterSundayGreekOrthodox.html" rel="nofollow noreferrer"><code>EasterSundayGreekOrthodox</code></a> or PHP's <code>easter_date()</code>, which return the (not applicable gregorian) date automatic must be used!</p> <p><strong>Examples</strong></p> <pre><code>2005 returns 1/5/2005 2006 returns 23/4/2006 2007 returns 8/4/2007 2008 returns 27/4/2008 2009 returns 19/4/2009 2010 returns 4/4/2010 2011 returns 24/4/2011 2012 returns 15/4/2012 2013 returns 5/5/2013 2014 returns 20/4/2014 2015 returns 12/4/2015 </code></pre> <p>Code count includes input/output (i.e full program).</p> <p><strong>Edit:</strong> I mean the <strong>Eastern</strong> Easter Date.</p> <p><strong>Reference:</strong> <a href="http://en.wikipedia.org/wiki/Computus" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Computus</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload