Timer v0.1.0 Timer View Source

Timer is a simple time handling module.

Link to this section Summary

Functions

Hours converts a number of hours into seconds.

Minutes converts a number of minutes into seconds.

Link to this section Types

Link to this section Functions

Hours converts a number of hours into seconds.

Examples

iex> Timer.hours(24)
86400
Link to this function

minutes(minutes)

View Source
minutes(integer()) :: seconds()

Minutes converts a number of minutes into seconds.

Examples

iex> Timer.minutes(10)
600