My Oracle Support Banner

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 7.8.2.16 SIA [19255] and later
Information in this document applies to any platform.

Symptoms

Situation

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

Environment

Siebel 7.8.2.16 SIA [19255] on Microsoft Windows Server 2003 (32 bit)
Also observed on Siebel 8.1.1.7 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.

Steps

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.

Result:

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

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
 Situation
 Environment
 Expected Behavior
 Actual Behavior
 Steps
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.