Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > C Language Library Reference > Clib Date and Time Methods > Clib Convert Integer to GMT MethodThe Clib Convert Integer to GMT method uses the integer value that the Clib Convert Time to Integer method returns and converts it to a time object that includes the current date and time expressed as Greenwich mean time (GMT). It is recommended that you use the Clib Convert Integer to GMT method only if you cannot use the equivalent standard JavaScript method. Note the following code:
This code is exactly equivalent to the following standard JavaScript code:
FormatThis method uses the same arguments as the Clib Get Date and Time method. For more information, see Table 177. ExampleThe following example returns the current GMT date and time: TheApplication().RaiseErrorText(Clib.asctime(Clib.gmtime(Clib.time()))); It returns this value as a string that uses the following format: Related Topics |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |