How do I get the current time in Elm?
I'm running elm-repl to play around with the language. I'd like to see what the current time is. How would I do that? It doesn't appear to be possible with the current library. Why is that? EDIT: I made a package to help with this. http://package.elm-lang.org/packages/z5h/time-app This was asked around elm 0.15 - things are different in elm 0.17 & 0.18 : see How do I get the current time in Elm 0.17/0.18? Update for 0.19 It is not possible to get the current time using the standard library.. You need to use elm/time . As with 0.18, all you need is a command and Msg to handle the result type