| Bookshelf Home | Contents | Index | PDF |    | 
| Siebel eScript Language Reference > Siebel eScript Commands > Universal Time Methods > getUTCDay() MethodThis method returns the UTC day of the week of a Date object. SyntaxReturnsThe UTC day of the week of dateVar as a number from 0 to 6. UsageThis method returns the UTC day of the week of dateVar as a number from 0 to 6. Sunday is 0, and Saturday is 6. ExampleThis function displays the day of the week of May 1, 2001, both locally and in universal time. function Button2_Click ()    for (var i = 0; i <= MayDay.getDay();i++)    for  (var j = 0; j <= MayDay.getUTCDay(); j++)    TheApplication().RaiseErrorText(msgtext); See Also | 
|  |    | 
| Siebel eScript Language Reference |