Working with time
From ElixirBlocks
Get time:
DateTime.utc_now()
To convert time into human readable form:
d = DateTime.utc_now() Calendar.strftime(d, "%y-%m-%d %I:%M:%S %p")
Get time:
DateTime.utc_now()
To convert time into human readable form:
d = DateTime.utc_now() Calendar.strftime(d, "%y-%m-%d %I:%M:%S %p")