about 5 years ago
What happens if we set the minutes value to -80?
Here is the example for setting a minutes in negative.
var dt= new Date();
document.write( dt + "<br><br>");
document.write( "<br><br>" + dt );
In dt.setMinutes(-80); it has a negative value.
Gives the outuput (Wed Nov 18 2015 10:40:14 GMT+0530) for negative value:-
Wed Nov 18 2015 12:26:14 GMT+0530 (India Standard Time)
Wed Nov 18 2015 10:40:14 GMT+0530 (India Standard Time)
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2020 FindNerd.com. All rights reserved.
Sign up using