Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
160 lines (101 sloc) 4.15 KB

Module ephp_datetime

Function Index

get_abbr_month/1
get_abbr_weekday/1
get_datetime/1
get_month/1
get_timestamp/1
get_tz/2
get_tz_time/3
get_weekday/1
is_dst/2
posix_time/0
posix_time_ms/0
set_tz/1
timestamp/0
timestamp/0
to_bmt/1
to_zone/2

Function Details

get_abbr_month/1


get_abbr_month(X1::calendar:month()) -> binary()

get_abbr_weekday/1


get_abbr_weekday(X1::calendar:daynum()) -> binary()

get_datetime/1


get_datetime(Timestamp::pos_integer()) -> calendar:datetime()

get_month/1


get_month(X1::calendar:month()) -> binary()

get_timestamp/1


get_timestamp(TS::integer() | float()) -> timer:timestamp()

get_tz/2


get_tz(Context::context(), Line::line()) -> binary()

get_tz_time/3


get_tz_time(DateTime::calendar:datetime(), TZ::string() | binary(), Sep::binary()) -> binary()

get_weekday/1


get_weekday(X1::calendar:daynum()) -> binary()

is_dst/2


is_dst(Date::calendar:date(), RawTZ::string() | binary()) -> boolean()

posix_time/0


posix_time() -> integer()

posix_time_ms/0


posix_time_ms() -> integer()

set_tz/1


set_tz(TZ::binary()) -> boolean()

timestamp/0


timestamp() -> os:timestamp()

timestamp/0

timestamp() -> any()

to_bmt/1


to_bmt(DateTime::calendar:datetime()) -> pos_integer()

to_zone/2


to_zone(Date::calendar:datetime(), RawTZ::string() | binary()) -> calendar:datetime()