Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > C Language Library Reference > Clib Date and Time Methods > Clib Get Formatted Date and Time MethodThe Clib Get Formatted Date and Time method creates a string that includes the date, time, or the date and time. It returns a formatted string that contains these values. FormatClib.strftime(stringVar, formatString, Time) Table 178 describes the arguments for the Clib Get Formatted Date and Time method.
Conversion Characters That the Return Formatted Date and Time Method UsesTable 179 describes conversion characters that the Return Formatted Date and Time method uses. Example 1The following example displays the full day name and month name of the current day: var TimeBuf; The display is similar to the following: Today is Friday, and the month is July Example 2The following example uses various conversion characters to format the value that the Clib Get Formatted Date and Time method returns: TheApplication().TraceOn("c:\\eScript_trace.txt","allocation","all"); This example produces the following result: 03/05/04,12:44:01,START,7.5.3 [16157] LANG_INDEPENDENT,SADMIN,6848,6708 |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |