This commit is contained in:
parent
40d432c92e
commit
5f9bf0ecf5
1 changed files with 2 additions and 2 deletions
4
README
4
README
|
@ -4,8 +4,8 @@ This library contains next public exported methods:
|
|||
* local_to_utc(DateTime, Timezone) - converts local time to UTC
|
||||
* local_to_local(DateTime, TimezoneFrom, TimezoneTo) - converts local time to local
|
||||
* tz_name(DateTime, Timezone) - returns a timezone name (E.g. MSK, MSD, etc)
|
||||
* tz_shift(DateTime, Timezone) - returns shift from local datetime to GMT
|
||||
* tz_shift(DateTime, TimezoneFrom, TimezoneTo) - returns shift from local datetime to required timezone
|
||||
* tz_shift(DateTime, Timezone) - returns time difference between local datetime and GMT
|
||||
* tz_shift(DateTime, TimezoneFrom, TimezoneTo) - returns time difference between local datetime and required timezone
|
||||
Where
|
||||
DateTime = {date(), time()}
|
||||
TimeZone(To, From) = String(). E.g. “Europe/Moscow”, “America/NewYork”. Or abbreviations "MSK", "MSD", etc. Note:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue