| datetime_to_timestamp/1 | Translate a local time date to UNIX timestamp. |
| get_datetime_by_type/2 | |
| get_datetime_day/1 | |
| get_datetime_hour/1 | |
| get_datetime_minute/1 | |
| get_datetime_month/1 | |
| get_datetime_second/1 | |
| get_datetime_week/1 | |
| get_datetime_year/1 | |
| get_type_range/1 | |
| next_day/1 | Return the date one day later. |
| next_hour/1 | Return the date one hour later. |
| next_minute/1 | Return the date one minute later. |
| next_month/1 | Return the date one month later. |
| next_second/1 | Return the date one second later. |
| next_year/1 | Return the date one year later. |
| prev_day/1 | Return the date one day earlier. |
| prev_hour/1 | Return the date one hour earlier. |
| prev_minute/1 | Return the date one minute earlier. |
| prev_month/1 | Return the date one month earlier. |
| prev_second/1 | Return the date one second earlier. |
| prev_year/1 | Return the date one year earlier. |
| timestamp_to_datetime/1 | Translate UNIX timestamp to local datetime. |
| validate_day/1 | |
| validate_hour/1 | |
| validate_minute/1 | |
| validate_month/1 | |
| validate_second/1 | |
| validate_time/1 | |
| validate_time/3 | |
| validate_week/1 | |
| validate_year/1 |
datetime_to_timestamp(DT) -> any()
Translate a local time date to UNIX timestamp
get_datetime_by_type(X1, X2) -> any()
get_datetime_day(X1) -> any()
get_datetime_hour(X1) -> any()
get_datetime_minute(X1) -> any()
get_datetime_month(X1) -> any()
get_datetime_second(X1) -> any()
get_datetime_week(X1) -> any()
get_datetime_year(X1) -> any()
get_type_range(X1) -> any()
next_day(Date) -> any()
Return the date one day later.
next_hour(Date) -> any()
Return the date one hour later.
next_minute(Date) -> any()
Return the date one minute later.
next_month(X1) -> any()
Return the date one month later.
next_second(Date) -> any()
Return the date one second later.
next_year(X1) -> any()
Return the date one year later.
prev_day(Date::calendar:datetime()) -> calendar:datetime()
Return the date one day earlier.
prev_hour(Date::calendar:datetime()) -> calendar:datetime()
Return the date one hour earlier.
prev_minute(Date::calendar:datetime()) -> calendar:datetime()
Return the date one minute earlier.
prev_month(X1::calendar:datetime()) -> calendar:datetime()
Return the date one month earlier. Gives unpredictable results if the day doesn't exist in the next month. (eg. feb 30 will become feb 28).
e.g. {{1995, 2, 28}, {0, 0, 0}} => {{1995,1,28},{0,0,0}}
prev_second(Date::calendar:datetime()) -> calendar:datetime()
Return the date one second earlier.
prev_year(X1::calendar:datetime()) -> calendar:datetime()
Return the date one year earlier.
e.g. {{1995, 2, 28}, {0, 0, 0}} => {{1994, 2, 28}, {0, 0, 0}}
timestamp_to_datetime(Seconds) -> any()
Translate UNIX timestamp to local datetime.
validate_day(D) -> any()
validate_hour(H) -> any()
validate_minute(M) -> any()
validate_month(M) -> any()
validate_second(S) -> any()
validate_time(X1) -> any()
validate_time(HH, MM, SS) -> any()
validate_week(W) -> any()
validate_year(Y) -> any()
Generated by EDoc