View Source Memorex.TimeUtils (Memorex v0.2.4)

Some convenience functions for interacting with date/times.

Link to this section Summary

Link to this section Functions

@spec now() :: DateTime.t()
@spec timezone() :: Calendar.time_zone()
Link to this function

to_timezone(datetime, tz \\ timezone())

View Source
@spec to_timezone(DateTime.t(), Calendar.time_zone()) :: DateTime.t()