Skip to content

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

Notifications You must be signed in to change notification settings

Marvin9/api-timestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published