Chronos is one of the many Smalltalk-related blogs syndicated on Planet Smalltalk
χρόνος

Discussion of the Essence# programming language, and related issues and technologies.

Blog Timezone: America/Los_Angeles [Winter: -0800 hhmm | Summer: -0700 hhmm] 
Your local time:  

2008-03-23

Easter Dates From 2000 to 2020

Since it's Easter today (according to the rule for computing Easter established by Pope Gregory in the late sixteenth century,) I thought I would post the occurrence dates for Easter from 2000 to 2020 AD (Gregorian):

2000-04-23
2001-04-15
2002-03-31
2003-04-20
2004-04-11
2005-03-27
2006-04-16
2007-04-08
2008-03-23
2009-04-12
2010-04-04
2011-04-24
2012-04-08
2013-03-31
2014-04-20
2015-04-05
2016-03-27
2017-04-16
2018-04-01
2019-04-21
2020-04-12

And here's the Chronos code that computes the list above:

2000 to: 2020 
do: [:year |
Transcript
cr;
show: (GregorianEaster canonical inYear: year) printString]

Note, however, that not all Christians use the Gregorian calendar, or don't use Pope Gregory's rule for determining the date on which Easter occurs. Some still use the first "universal" Roman Catholic rule (which was established in 325 AD.) Before that, Easter was celebrated at various dates in different locales and cultures. Originally, it coincided with the day just before Passover (which is 14 Nisan in the Hebrew calendar, since Passover starts on 15 Nisan; also note that Hebrew calendar days start at sundown.)

2008-03-23 AD @ 12:55:09 pm -0700 [Gregorian]
0165-01-03 BE @ 12:55:09 pm -0700 [Bahai]
1724-07-14 AM @ 12:55:09 pm -0700 [Coptic]
2000-07-14 ZH @ 12:55:09 pm -0700 [Ethiopic]
5768-13-16 AM @ 12:55:09 pm -0700 [Hebrew]
1930-01-03 AS @ 12:55:09 pm -0700 [Indian Civil]
1429-03-15 AH @ 12:55:09 pm -0700 [Islamic (Fatimid)]
2008-03-10 AD @ 12:55:09 pm -0700 [Julian]
2761-03-10 AUC @ 12:55:09 pm -0700 [Julian (Imperial)]
1387-01-04 AP @ 12:55:09 pm -0700 [Persian]
6244-04-04 SY @ 12:55:09 pm -0700 [Solarian]
2008-083 @ 12:55:09 pm -0700 [Gregorian-ordinal date]
2008-W12-7 @ 12:55:09 pm -0700 [ISO]
J.D. 2454549 @ 12:55:09 pm -0700 [Julian Day]
39163:19:55:09.771325 days:hh:mm:ss.s.. since 1901-01-01T00:00:00Z (ST80 epoch)
1206302109 seconds since 1970-01-01T00:00:00Z (Unix epoch)
128507757097713250 100-nanosecond ticks since 1601-01-01T00:00:00Z (MS WIndows epoch)
Easter
weekend (Sunday)


No comments: