Commandex.Type.Date (Commandex v0.6.0)

Copy Markdown View Source

Casts values to dates.

Accepts a Date, a NaiveDateTime, a DateTime, or an ISO 8601 string. A value with a date and a time gives its date. A DateTime is moved to UTC first.

Summary

Types

t()

@type t() :: Date.t()