Ecto.DateTime
An Ecto type for dates and times.
Summary↑
| from_date_and_time(date, time) | Converts the given |
| from_erl(arg1) | Converts a |
| local() | Returns an |
| to_date(datetime) | Converts |
| to_erl(datetime) | Converts an |
| to_time(time) | Converts |
| utc() | Returns an |
Functions
Converts the given Ecto.Date and Ecto.Time into Ecto.DateTime.
Converts a {date, time} tuple into an Ecto.DateTime.
Returns an Ecto.DateTime in local time.
Converts Ecto.DateTime into an Ecto.Date.
Converts an Ecto.DateTime into a {date, time} tuple.
Converts Ecto.DateTime into an Ecto.Time.
Returns an Ecto.DateTime in UTC.