Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Date and Time Methods > Set Time MethodThe Set Time method sets dateVar to a date that Siebel CRM determines from the value you specify in the milliseconds argument, calculated from January 1, 1970, GMT. To set a date earlier than this date, you can use a negative number. FormatFor more information about the milliseconds argument, see Values for Dates and Times. ExampleThe following example uses a number of milliseconds as input and converts it to a date and hour: function dateBtn_Click () switch(anHour) TheApplication().RaiseErrorText("The specified date is " + For example, if you enter a value of -345650, then this code provides the following result: |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |