Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
datetime_to_unix/1
Description
datetime_to_unix/1 is an Erlang function exported by "age_calendar" module.
Converts date and time tuple into UNIX time-stamp.
References
•Epoch Unix Time Stamp
•datetime/0
Parameters
Name
Type
Date
tuple()
{Year, Month, Day}
Result
Value or Type
integer()
Returns UNIX epoch time-stamp.