timestamp/views/index.html

33 lines
1.0 KiB
HTML
Raw Normal View History

2017-02-18 19:54:04 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Timestamp Microservice | freeCodeCamp.org</title>
<link rel="shortcut icon" href="https://cdn.freecodecamp.org/universal/favicons/favicon-32x32.png" type="image/x-icon"/>
2017-02-18 19:54:04 +01:00
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
2017-02-18 19:54:04 +01:00
</head>
<body>
<h1>Timestamp Microservice</h1>
<hr />
<div class="container">
<h3>Example Usage:</h3>
<ul>
<li><a href="api/timestamp/2015-12-25">[project url]/api/timestamp/2015-12-25</a></li>
<li><a href="api/timestamp/1451001600000">[project url]/api/timestamp/1451001600000</a></li>
</ul>
2017-02-18 19:54:04 +01:00
<h3>Example Output:</h3>
<p>
<code>{"unix":1451001600000, "utc":"Fri, 25 Dec 2015 00:00:00 GMT"}</code>
</p>
</div>
<div class="footer">
<p>
By <a href="https://www.freecodecamp.org/">freeCodeCamp.org</a>
</p>
</div>
</body>
2017-02-18 19:54:04 +01:00
</html>