[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)]publicstaticdoublegetDay(objectthisob); Parameters thisob Object The object that t
This method returns the day of the week ofdateVar. Sunday is 0, and Saturday is 6. To get the name of the corresponding weekday, create an array holding the names of the days of the week and compare the return value to the array index, as shown in the following example. ...
ThegetDay()method returns the day of the week for the specified date according to local time, where 0 represents Sunday.For the day of the month, seeDate.prototype.getDate(). Syntax dateObj.getDay() Return value An integer number, between 0 and 6, corresponding to the day of the week...
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)] public static double getDay(object thisob); Parameters thisob Object The object that this method is acting upon. Returns Double The day-of-the-week value of thisob....
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)]publicstaticdoublegetDay(objectthisob); Parameters thisob Object The object that this method is acting upon. Returns
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)] public static double getDay (object thisob); Parameters thisob Object The object that this method is acting upon. Returns Double The day-of-the-week value of thisob...
This method returns the day of the week ofdateVar. Sunday is 0, and Saturday is 6. To get the name of the corresponding weekday, create an array holding the names of the days of the week and compare the return value to the array index, as shown in the following example. ...
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)] public static double getDay(object thisob); Parameters thisob Object The object that this method is acting upon. Returns Double The day-of-the-week value of thisob....
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)] public static double getDay(object thisob); Parameters thisob Object The object that this method is acting upon. Returns Double The day-of-the-week value of thisob....
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getDay)]publicstaticdoublegetDay(objectthisob); Parameters thisob Object The object that this method is acting upon. Returns