zonie
zonie is a timezone library allowing you to get the current date/time in any timezone of the world.
Usage
const zonie = ;console;# 2018-03-28T03:16:39000Z
API
now
Get the current date/time in a given timezone
console;# 2018-03-28T03:16:39000Z
zone
Do a lookup of a timezone
console;# Australia/Melbourne
Optional parameter to return a nice timezone name or abbreviation. Possible values are: zone
(default), abbr
and name
:
console;# AEST
console;# AUS Eastern Standard Time
zones
Returns an array of objects with data on all the timezones of the world.
zonie;
Returns: