E.g., “2016-07-05”. Just the date, in a timezone of my choosing. (This is a really common requirement for working with API’s.) Here’s what I’ve come up with, in Phoenix, pulling in Timex to help.
I would highly recommend using the https://hex.pm/packages/calendar library, I’ve had a lot of success with it. If you’e already using Timex of course continue to go that route. The Elixir standard library does not handle timezones yet.