Ecto.DateTime

Ecto.DateTime

An Ecto type that includes a date and a time.

Summary

Functions

cast(dt)

Casts the given value to datetime

cast!(value)

Same as cast/1 but raises Ecto.CastError on invalid datetimes

compare(t1, t2)

Compare two datetimes

dump(arg1)

Converts an 登录查看完整内容