19 lines
417 B
HTML
19 lines
417 B
HTML
<html>
|
|
<div style="visibility: hidden">
|
|
<form id="form" method="POST" action="/">
|
|
<input name="date" id="date" type="text"></input>
|
|
</form>
|
|
</div>
|
|
</html>
|
|
<script>
|
|
window.onload = function(e){
|
|
var d = new Date();
|
|
var date = d.toUTCString();
|
|
dateform = document.getElementById("date")
|
|
dateform.value = date;
|
|
form = document.getElementById("form")
|
|
form.submit();
|
|
console.log(iso);
|
|
}
|
|
</script>
|