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