Search
Arke
v0.3.16
Pages
Modules
Mix
Tasks
Settings
View Source
Arke.Utils.DatetimeHandler
(Arke v0.3.16)
Link to this section
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)
Link to this section
Functions
Link to this function
after?(first_date, second_date)
View Source
Link to this function
before?(first_date, second_date)
View Source
Link to this function
format(value, format \\ "{ISO:Extended}")
View Source
Link to this function
format!(value, format \\ "{ISO:Extended}")
View Source
Link to this function
from_unix(s, unit \\ :second)
View Source
Link to this function
now(atom)
View Source
Link to this function
parse_date(value, only_value \\ false)
View Source
Link to this function
parse_datetime(value, only_value \\ false)
View Source
Link to this function
parse_time(value, only_value \\ false)
View Source
Link to this function
shift_date(opts)
View Source
Link to this function
shift_date(date, opts)
View Source
Link to this function
shift_datetime(opts)
View Source
Link to this function
shift_datetime(datetime, opts)
View Source