date() = {date, {non_neg_integer(), 1..12, 1..31}}
datetime() = {datetime, {{integer(), 1..12, 1..31}, {1..24, 1..60, 1..60}}}
now_human_readable/0 | Returns the current date in a human readable format binary. |
shift_days/2 | Moves the received datetime N days to the future (or to the past). |
shift_months/2 | Moves the received date N months to the future (or to the past). |
now_human_readable() -> binary()
Returns the current date in a human readable format binary.
shift_days(Datetime::calendar:datetime(), N::integer()) -> calendar:datetime()
Moves the received datetime N
days to the future (or to the past)
shift_months(X1::calendar:date(), N::integer()) -> calendar:date()
Moves the received date N
months to the future (or to the past)
Generated by EDoc