An open API service indexing awesome lists of open source software.

https://github.com/douglasvolcato/timestamp-microservice

Timestamp Microservice
https://github.com/douglasvolcato/timestamp-microservice

api back-end backend express expressjs node nodejs

Last synced: 6 months ago
JSON representation

Timestamp Microservice

Awesome Lists containing this project

README

          

# timestamp-microservice
API Timestamp Microservice

A request to '/api/:date?' with a valid date returns a JSON object with an unix key that is a Unix timestamp of the input date in milliseconds and an utc key that is a string of the input date in the format: "Thu, 01 Jan 1970 00:00:00 GMT". An empty date ('/api') parameter should return the current time in a JSON object with an unix and an utc key.