Marvin9 / api-timestamp

freecodecamp project. API gives object of unix and utc timestamp of given day.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api-timestamp

freecodecamp project. API gives object of unix and utc timestamp of given day.

API ENDPOINT

GET /api/timestamp/:datestring
GET /api/timestamp (Current timestamp)

datestring FORMAT

yyyy-m-d (2014-10-5)

yyyy-m (2014-10)

d-m-yyyy (5-10-2014)

Unix time (1412121600000)

JSON Object :

{
  "unix" : <int:unix-time>,
  "utc" : <string:utc-date>
}

About

freecodecamp project. API gives object of unix and utc timestamp of given day.


Languages

Language:HTML 55.2%Language:JavaScript 44.8%