Skip to content

danieledelgiudice/freecodecamp-timestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timestamp Microservice

User Stories

  • I can pass a string as a parameter, and it will check to see whether that string contains a unix timestamp
  • If it does, it returns both the Unix timestamp and the natural language form of that date.
  • If it does not contain a Unix timestamp, it returns null for those properties.

Example Usage

https://freecodecamp-timestamp-d4n13le.herokuapp.com/1424237800

Example Output

{
  "unix": 1424237800,
  "natural": "February 18, 2015"
}

About

Simple Node.js microservice that converts UNIX timestamps to English dates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published