Erlang library for conversion from one local time to another
Erlang
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 63 commits behind dmitryme:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
include
src
Makefile
README
rebar

README

This library contains four exported methods:

* utc_to_local(DateTime, Timezone)
* local_to_utc(DateTime, Timezone)
* local_to_local(DateTime, TimezoneFrom, TimezoneTo)
* tz_name(DateTime, Timezone)
Where
DateTime = {date(), time()}
TimeZone(To, From) = String(). E.g. “Europe/Moscow”, “America/NewYork”