Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Date and Time Methods > Overview of Date MethodsSiebel eScript provides the following ways to work with dates:
The following methods convert dates in the format of one date system to the format of the other date system: This chapter describes the JavaScript Date object. To indicate the name of a variable that you create to hold a date value, this chapter uses dateVar. Format for Calling a Date MethodTo call a date method, you must precede the method name with a specific instance of a variable followed by a period. For example, assume you create a date object named aDate. To call the getDate method, you use the following format: Siebel CRM uses a literal value to call a static method, such as Date.parse. The beginning of a static method includes the following format: These methods are part of the date object instead of an instance of the Date object. Caution About Using Two Digit DatesSiebel eScript uses the ECMAScript standard for two digit dates, which might be different from the formats that other applications use, including Siebel CRM. CAUTION: To prevent a year 2000 (Y2K) problem, avoid using a two digit date in your Siebel eScript code. Values for Dates and TimesTable 60 describes values for months, days, hours, minutes, and seconds. Many Siebel eScript objects use these same values. |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |