ncal is a MacOS utility for printing calendars in your terminal. For a recent
project, I wanted a calendar that covered today through the end of
December 2027. Can ncal print that exact range? It can!
Here’s the command I used:
$ ncal -A 13
November 2026 December 2026 January 2027 February 2027
Mo 2 9 16 23 30 7 14 21 28 4 11 18 25 1 8 15 22
Tu 3 10 17 24 1 8 15 22 29 5 12 19 26 2 9 16 23
We 4 11 18 25 2 9 16 23 30 6 13 20 27 3 10 17 24
Th 5 12 19 26 3 10 17 24 31 7 14 21 28 4 11 18 25
Fr 6 13 20 27 4 11 18 25 1 8 15 22 29 5 12 19 26
Sa 7 14 21 28 5 12 19 26 2 9 16 23 30 6 13 20 27
Su 1 8 15 22 29 6 13 20 27 3 10 17 24 31 7 14 21 28
March 2027 April 2027 May 2027 June 2027
Mo 1 8 15 22 29 5 12 19 26 3 10 17 24 31 7 14 21 28
Tu 2 9 16 23 30 6 13 20 27 4 11 18 25 1 8 15 22 29
We 3 10 17 24 31 7 14 21 28 5 12 19 26 2 9 16 23 30
Th 4 11 18 25 1 8 15 22 29 6 13 20 27 3 10 17 24
Fr 5 12 19 26 2 9 16 23 30 7 14 21 28 4 11 18 25
Sa 6 13 20 27 3 10 17 24 1 8 15 22 29 5 12 19 26
Su 7 14 21 28 4 11 18 25 2 9 16 23 30 6 13 20 27
July 2027 August 2027 September 2027 October 2027
Mo 5 12 19 26 2 9 16 23 30 6 13 20 27 4 11 18 25
Tu 6 13 20 27 3 10 17 24 31 7 14 21 28 5 12 19 26
We 7 14 21 28 4 11 18 25 1 8 15 22 29 6 13 20 27
Th 1 8 15 22 29 5 12 19 26 2 9 16 23 30 7 14 21 28
Fr 2 9 16 23 30 6 13 20 27 3 10 17 24 1 8 15 22 29
Sa 3 10 17 24 31 7 14 21 28 4 11 18 25 2 9 16 23 30
Su 4 11 18 25 1 8 15 22 29 5 12 19 26 3 10 17 24 31
November 2027 December 2027
Mo 1 8 15 22 29 6 13 20 27
Tu 2 9 16 23 30 7 14 21 28
We 3 10 17 24 1 8 15 22 29
Th 4 11 18 25 2 9 16 23 30
Fr 5 12 19 26 3 10 17 24 31
Sa 6 13 20 27 4 11 18 25
Su 7 14 21 28 5 12 19 26
The -A flag takes number argument that’s the list of months you want to
include after this month. Thirteen months after this month brings me to
December 2027.
See man ncal on MacOS for more information.