Add files via upload

This commit is contained in:
Silica 2018-02-04 02:29:46 +13:00 committed by GitHub
parent d7dd07ddc2
commit 961e3c2568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
<script>
d = (Date.now() + 62135596800000) * 1000
document.write('<b><i><div id="currentStamp">Current Vita Timestamp: tt</div></b></i>')
document.write('<b><i><div id="currentStamp">Current Playstation Timestamp: tt</div></b></i>')
document.write('<b>Timestamp:</b><br><input type="text" id="timestamp" value='+d.toString(16)+'>');
document.write('<div id="stamp">test</div>');
function writeTime()
{
d = (Date.now() + 62135596800000) * 1000
document.getElementById('currentStamp').innerHTML = "Current Vita Timestamp: "+d.toString(16);
document.getElementById('currentStamp').innerHTML = "Current Playstation Timestamp: "+d.toString(16);
timestamp = parseInt(document.getElementById('timestamp').value, 16) / 1000
date = new Date((timestamp - 62135596800000))
document.getElementById('stamp').innerHTML = date.toUTCString();