Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
isotime({{Y,Mo,D},{H,Mi,S}}) ->
ISO = io_lib:format("~w-~.2.0w-~.2.0wT~.2.0w:~.2.0w:~6.3.0fZ",
[Y, Mo, D, H, Mi, S]),
unicode:characters_to_binary(ISO).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.