Small docker-ready express web service for current date with timezone support from the IANA Time Zone Database.
APP_BASE
- App base pathWHITELIST_DOMAINS
- Comma-separated list of CORS allowed domains. Leave empty to allow any.
Get current date.
Query parameter | Description |
---|---|
tz | Timezone in IANA TZ name format |
GET http://example.com/date?tz=America/New_York
{ "date": "2018-01-09T08:17:12-05:00" }