Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
datetime_to_iso8601/1
Description
datetime_to_iso8601/1 is an Erlang function exported by "age_calendar" module.
Converts {{Year, Month, Day}, {Hour, Minutes, Seconds}} into ISO 8601 formatted string.
References
•Date and time format - ISO 8601
Parameters
Name
Type
DateTime
tuple()
{{Year, Month, Day}, {Hour, Minutes, Seconds}}
Result
Value or Type
string()
Returns time-stamp in ISO 8601 format (RFC 3339).