TimeStamp Microservice


Paste your Unix timestamp or Natural form timestamp onto the end of the url to be returned an object with both forms of time.
[unix (in seconds) and natural as a string]

Examples:

  1. A unix timestamp (in seconds) is appended to the end of the url or passed as a request parameter in an AJAX call

    https://vampiire-timestamp.herokuapp.com/time/1497326400
    returns: {"unix":1497326400,"natural":"June 13, 2017"}
  2. A unix timestamp (in milliseconds) is appended to the end of the url or passed as a request parameter in an AJAX call

    https://vampiire-timestamp.herokuapp.com/time/1497326400000
    returns:{"unix":1497326400,"natural":"June 13, 2017"}
  3. A natural form timestamp is appended to the end of the url or passed as a request parameter in an AJAX call

    [spaces and commas are handled by the browser and function]

    https://vampiire-timestamp.herokuapp.com/time/June 13 2017e
    returns: {"unix":1497326400,"natural":"June 13, 2017"}