javascript - How to subtract 2 hours from user's local time? -


can give me simple javascript code block allow me display local time minus 2 hours?

subtract date object

var d = new date();  d.sethours(d.gethours() - 2); 

Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

java - where to store the user credentials in an enterprise application(EAI)? -