NDateTime.DayOfWeek Property

Gets the day of the week represented by this instance. 

Return type : Integer

An integer constant that indicates the day of the week of this NDateTime value.
Its value ranges from zero (which indicates Sunday) to six (which indicates Saturday).

 

Examples

var date = new NDateTime(2013,9,21, 10,35,23);
console.log(date.DayOfWeek);

Output

6

Last edited Sep 21, 2013 at 11:40 PM by jeremydumais, version 2

Comments

No comments yet.