Kalends.Formatter.Strftime
Summary
strftime(dt, string) | Example
|
Functions
Example
iex> Kalends.DateTime.from_erl({{2014,9,6},{17,10,20}},"UTC")|>elem(1)|>Kalends.Formatter.Strftime.strftime "%Y-%m-%e %H:%M:%S"
"2014-09-6 17:10:20"
iex> Kalends.DateTime.from_erl({{2014,9,6},{17,10,20}},"UTC")|>elem(1)|>Kalends.Formatter.Strftime.strftime "%d.%m.%y"
"06.09.14"