Created
May 22, 2024 22:52
-
-
Save pmarreck/6f61ba7b01411baa664238cbed3edeec to your computer and use it in GitHub Desktop.
Compact datetime format for Elixir use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires the Timex library though | |
Timex.format!(Timex.now(), "%Y%m%d%H%M%S.%L", :strftime) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
example output:
20240522224814.776