nodejs time convertor service as part of free code camp curriculum.
$ npm install
$ npm start
GET http://locahost:3000/January 1, 2015
Given that the string after is in the date syntax
Month MonthDate, Year
the response is
{
unix: 1420070400000,
natural: 'January 1, 2015'
}
Likewise
GET http://locahost:3000/1420070400000
response is
{
unix: 1420070400000,
natural: 'January 1, 2015'
}
If the date isnt in format 'Month MonthDate, Year' or unix time since 1970, the server will return
{
unix: null,
natural: null
}