Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > UTC Methods > Set UTC Full Year MethodThe Set UTC Full Year method sets the UTC year of a date object to a four digit year that you specify in the year argument. FormatdateVar.setUTCFullYear(year[, month[, date]]) Table 74 describes the arguments for the Set UTC Full Year method.
ExampleThe following example does the following work:
This example uses the following code: function dateBtn_Click () var localHr = solstice2K.getHours(); var msg = "In your location, the solstice is on " + localDay + This example produces the following result: In your location, the solstice is on Tue Jun 20, at 6:48 P.M., Standard Time. |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |