Arke
v0.6.2
Search documentation of Arke
Default
Default
In-browser search
Settings
Arke.
Utils.
DatetimeHandler
(Arke v0.6.2)
Copy Markdown
View Source
Summary
Functions
after?(first_date, second_date)
before?(first_date, second_date)
format(value, format \\ "{ISO:Extended}")
format!(value, format \\ "{ISO:Extended}")
from_unix(s, unit \\ :second)
now(atom)
parse_date(value, only_value \\ false)
parse_datetime(value, only_value \\ false)
parse_time(value, only_value \\ false)
shift_date(opts)
shift_date(date, opts)
shift_datetime(opts)
shift_datetime(datetime, opts)
Functions
after?(first_date, second_date)
before?(first_date, second_date)
format(value, format \\ "{ISO:Extended}")
format!(value, format \\ "{ISO:Extended}")
from_unix(s, unit \\ :second)
now(atom)
parse_date(value, only_value \\ false)
parse_datetime(value, only_value \\ false)
parse_time(value, only_value \\ false)
shift_date(opts)
shift_date(date, opts)
shift_datetime(opts)
shift_datetime(datetime, opts)