Hi makenzi.exc,
Use the meta tag and set the following attribute.
http-equiv - refresh
content - 2 (In second)
Refer below example.
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="2">
<title></title>
<style type="text/css">
body { font-family: Arial; font-size: 10pt; padding-left: 20px; }
</style>
</head>
<body>
<span id="lblDateTime"></span>
<script type="text/javascript">
window.onload = function () {
document.getElementById("lblDateTime").innerHTML = "Page refreshed at: " + new Date().toLocaleString();
};
</script>
</body>
</html>
Demo
Screenshot

Downloads
Download Sample