Skip to content

kubabartak/timeStamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timeStamp

This is simple RESTful API made with Node.js and Express created as eduactional project for FreeCodeCamp BackEnd Certification.

When string is passed as a parameter it check to see whether that string contains either a unix timestamp or a natural language date (example: January 1, 2016)

  • If it does, it returns both the Unix timestamp and the natural language form of that date.
  • If it does not contain a date or Unix timestamp, it returns null for those properties.

Example usage: localhost:3000/December 2015, 15 localhost:3000/1450137600 Example output: { "unix": 1450137600, "natural": "December 15, 2015" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published