Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Date.prototype.getUTCDay() Method in Date Class of Javascript Syntax with Examples
951 Views
Usage 
The getUTCDay() methodd is used to return the day of the week in the mentioned date according to universal time.
Syntax 
dateObject.getUTCDay()
 
Example
var today = new Date();
var weekday = today.getUTCDay();
document.write(weekday);
Output 
5
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