Commit 220c6704 by Manzar Hussain

timestamp

parent d43087b8
......@@ -326,10 +326,10 @@
$('#nse').parent('li').removeClass('down');
}
let unix_timestamp = 1611734076
let unix_date_timestamp = unix_timestamp;
// Create a new JavaScript Date object based on the timestamp
// multiplied by 1000 so that the argument is in milliseconds, not seconds.
var date = new Date(unix_timestamp * 1000);
var date = new Date(unix_date_timestamp * 1000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment