Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Date.prototype.getUTCMonth() Method in Date Class of Javascript Syntax with Examples
1232 Views
Usage 
The getUTCMonth() methodd is used to return the month of the mentioned date according to universal time.
Syntax 
dateObject.getUTCMonth()
Example
var today = new Date();
var month = today.getUTCMonth();
document.write(month);
Output 
10
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details