Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
now_to_rfc1123/0
Description
now_to_rfc1123/0 is an Erlang function exported by "age_calendar" module.
Returns current OS system time-stamp in format stipulated by RFC 1123.
References
•Requirements for Internet Hosts - RFC 1123
Result
Value or Type
string()
Returns time-stamp in format stipulated by RFC 1123.
Code Sample
> age_calendar:now_to_rfc1123(). "Tue, 30 Jul 2019 11:27:30 GMT"