- Parses the query parameter to date string or milliseconds.
- The API endpoint is
GET [project_url]/api/timestamp/:date_string?
. - If it doesn't match the
date_string
as javascript'snew Date()
the API returns a JSON having structure{"unix": null, "utc" : "Invalid Date" }
- https://holistic-copper.glitch.me/api/timestamp/2015-12-25
- https://holistic-copper.glitch.me/api/timestamp/1450137600
- { "unix": 1450137600, "natural": "December 15, 2015" }