This is the first project for the Back End Development and APIs Certification in freeCodeCamp.com
You can find the full assignment here:
https://cfp-time-stamp.herokuapp.com/
Should return the current date as a JSON Object with a UNIX timestamp and an UTC one.
Should return the date given as a JSON Object with the UNIX timestamp and an UTC one.
Should return the date given as a JSON Object with a UNIX timestamp and an UTC one.
A request to /api/1451001600000 should return { unix: 1451001600000, utc: "Fri, 25 Dec 2015 00:00:00 GMT" }
A request to api/2015-12-25 should return { unix: 1451001600000, utc: "Fri, 25 Dec 2015 00:00:00 GMT" }