SQL PHP HTML ASP JavaScript articles and free scripts to download
 

getMinutes()

We can extract or get the minute parts from the date object by using getMinutes() function. The value will be from 0 to 59. Here is the simple code

var dt= new Date();
document.write(dt.getMinutes());

Here is the output based on your time zone and date and time of your computer

We will get minutes from this date object. We can further work on this minutes part and set it to previous or advance value by using setMinutes function.


Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked

Join Our Email List
Email:  
For Email Newsletters you can trust
Date & Time