Siddhant24 / Timestamp-Microservice

Timestamp microservice API built in Node.js

Home Page:https://timestamp-api-sid.glitch.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

###Timestamp Microservice

Pass a string as a parameter, and it will check to see whether that string contains either a unix timestamp or a natural language date (example: January 1, 2016).

If it does, both the Unix timestamp and the natural language form of that date are returned.

If it does not contain a date or Unix timestamp,null is returned for those properties. Example usage:

https://timestamp-api-sid.glitch.me/December%2015,%202015

https://timestamp-api-sid.glitch.me/1450137600

Example Output:

{ "unix": 1450137600, "natural": "December 15, 2015" }

About

Timestamp microservice API built in Node.js

https://timestamp-api-sid.glitch.me/


Languages

Language:JavaScript 57.5%Language:HTML 31.7%Language:CSS 10.7%