Javascript Methods JavaScript Reference

Note:
Returns the week day based on UTC time. 
Return values: 
0 to 6, 
with 0 representing Sunday and 6 representing Saturday.
    
Syntax:
    
dateName.getUTCDay()