Know 2022 easter date using macOS Terminal


In order to know the date when easter falls for the year 2022 using Terminal command, you can make use of ncal command.

You can use three options:

  1. ncal 2022 -eJ: Display Julian Calendar, if combined with the -e option, display date of Easter according to the Julian Calendar.
  2. ncal 2022 -e: Display date of Easter (for western churches).
  3. ncal 2022 -o: Display date of Orthodox Easter (Greek and Russian Orthodox Churches).
Example:
code2care@mac ~ % ncal -e 2022    
April 17 2022
code2care@mac ~ % ncal -Je 2022
April 17 2022
code2care@mac ~ % ncal -o 2022 
April 24 2022

code2care@mac ~ % ncal april 2022


    April 2022        
Mo     4 11 18 25   
Tu     5 12 19 26   
We     6 13 20 27   
Th     7 14 21 28   
Fr  1  8 15 22 29   
Sa  2  9 16 23 30   
Su  3 10 17 24 
2022 Easter dates using macOS Terminal Command

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram