Add files via upload
This commit is contained in:
parent
d7dd07ddc2
commit
961e3c2568
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue