ADODB Return Date Values In Different Format When ST Engine Is Enabled

(Doc ID 1493617.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Sales - Version SIA [19255] and later
Information in this document applies to any platform.



When the classic engine is enabled, ADODB objects return dates represented by the number of miliseconds since midnight, January 1, 1970.
Example: 459522045000

However, when the ST engine is enabled, ADODB objects return dates represented as a literal string.
Example: Tue Jul 24 1984 14:00:45 GMT


Siebel SIA [19255] on Microsoft Windows Server 2003 (32 bit)
Also observed on Siebel SIA.

Expected Behavior

The ST engine should behave the same as the classic eScript engine; that is, it should return the datetime value as milliseconds since Jan 1st, 1970.

Actual Behavior

The ST engine returns the datetime value as a formatted string.


By following these steps the issue can be reproduced:

1. Add the below script to a business service:

2. Compile the business service (if it has been defined in Tools).

3. Execute the script.


Type = 2.8
Value = Tue Jan 01 1980 00:00:00 


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms