ADODB Return Date Values In Different Format When ST Engine Is Enabled
Last updated on MARCH 02, 2017
Applies to:Siebel Sales - Version 188.8.131.52 SIA  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.
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 184.108.40.206 SIA  on Microsoft Windows Server 2003 (32 bit)
Also observed on Siebel 220.127.116.11 SIA.
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.
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
Million Knowledge Articles and hundreds of Community platforms