# Dates

Calendar types were added to Elixir in 1.3. See the release blog post ["Calendar types and sigils"](http://elixir-lang.org/blog/2016/06/21/elixir-v1-3-0-released/).

Elixir standard library only offers basic support, so an additional Calendar library is required. Read through the documentation for the Timex libraries:

* Timex [README](https://github.com/bitwalker/timex)/[Docs](https://hexdocs.pm/timex/getting-started.html)
* CalEcto: [README](https://github.com/bitwalker/timex_ecto)

There resources were created before the release of Elixir 1.3, but are still worth reviewing.

* [Comparing dates and times in Elixir with Ecto](https://dockyard.com/blog/2015/11/30/comparing-date-time-in-elixir-with-ecto)
* [Compare date and time in Elixir with protocols](http://www.creativedeletion.com/2016/03/07/comparing_dates_in_elixir.html)
* [Mastering date/time in Elixir](https://www.youtube.com/watch?v=keUbVvMJeKY\&feature=youtu.be\&t=1630) - a good overview of the Calendar libraries at the end of this presentation.
