Kitto v0.9.1 Kitto.Time View Source
This module defines functions to handle time conversions.
Link to this section Summary
Functions
Return the number of milliseconds for the given arguments
Link to this section Functions
Return the number of milliseconds for the given arguments.
When a tuple is passed the first element is interpreted as the number to be converted in milliseconds and the second element as the time unit to convert from.
An atom can also be used (one of [:second, :minute, :hour, :day]
) for convenience.