Create A Date With The Date Sigil
Last updated
Was this helpful?
Last updated
Was this helpful?
Elixir 1.3 introduced a new sigil for creating dates, ~D
. It works in the same way as Date's function producing the Date struct with each of the date parts.