Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Universal Time Methods > setUTCMilliseconds() MethodThis method sets the UTC millisecond of a Date object to a date expressed in milliseconds relative to the UTC equivalent of the system time. SyntaxdateVar.setUTCMilliseconds(millisecond) UsageThis method sets the UTC millisecond of dateVar to millisecond. The value of dateVar becomes equivalent to the number of milliseconds from the UTC equivalent of time on the system clock. Use a positive number for later times, and a negative number for earlier times. ExampleThe following example gets a number of milliseconds as input and converts it to a UTC date and time. function dateBtn_Click () When run at 5:36 P.M., Pacific time, on November 22, 1999, it produced the following result. The specified date is 11/23/1999 at 1:36 UTC time. See AlsogetUTCMilliseconds() Method |
Siebel eScript Language Reference |