# \[ANN\] Calendars.jl

**URL:** https://discourse.julialang.org/t/ann-calendars-jl/33204
**Category:** Package Announcements
**Tags:** dates
**Created:** [January 10, 2020, 4:24pm UTC](https://discourse.julialang.org/t/ann-calendars-jl/33204 "2020-01-10T16:24:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wookyoung](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wookyoung/32/157_2.png) [@wookyoung](https://discourse.julialang.org/u/wookyoung)
#### Post date: [January 10, 2020, 4:24pm UTC](https://discourse.julialang.org/t/ann-calendars-jl/33204/1 "2020-01-10T16:24:28Z")

</div>

Happy new year!

this is not a registered package and I don’t have an idea about the proper name for it.  
it works like Charles Dye’s `cal` that was present and have used from almost 50 years ago.

> **[cal (command)](https://en.wikipedia.org/wiki/Cal_(Unix))**
>
> cal is a command-line utility on a number of computer operating systems including Unix, Plan 9, Inferno and Unix-like operating systems such as Linux that prints an ASCII calendar of the given month or year. If the user does not specify any command-line options, cal will print a calendar of the current month. The command is a standard program on Unix and specified in the Single UNIX Specification.
> The cal command was present in 1st Edition Unix. A cal command is also part of ASCII's MSX-DOS2 Too...

```julia
$ cal
    January 2020
Su Mo Tu We Th Fr Sa
          1 2 3 4
 5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

```

Calendars.jl github repo is at

> **[GitHub - wookay/Calendars.jl: VerticalCalendar, HorizontalCalendar, Times,...](https://github.com/wookay/Calendars.jl)**
>
> VerticalCalendar, HorizontalCalendar, Times, LunarCalendars 🗓 - GitHub - wookay/Calendars.jl: VerticalCalendar, HorizontalCalendar, Times, LunarCalendars 🗓

Examples:

```julia
julia> using Calendars

julia> VerticalCalendar(Date(2020, 7), datespans=[DateSpan(Date(2020,7,27):Day(1):Date(2020,7,31), :green)])
    2020
    Jul
        5 12 19 26
Mon 6 13 20 27
        7 14 21 28
Wed 1 8 15 22 29
     2 9 16 23 30
Fri 3 10 17 24 31
     4 11 18 25

julia> VerticalCalendar(Date(2020, 7), datespans=[DateSpan(Date(2020,7,27):Day(1):Date(2020,7,31), :green)])'
     Su Mo Tu We Th Fr Sa
Jul 1 2 3 4
2020 5 6 7 8 9 10 11
     12 13 14 15 16 17 18
     19 20 21 22 23 24 25
     26 27 28 29 30 31

```

thanks.
