Clib.strftime Problem not working in with () block (Doc ID 1610941.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Financial Services CRM - Version 8.1.1.10 [23021] and later
Information in this document applies to any platform.

Symptoms

Version: 8.1.1.10

Issue: Error when running scripting having strftime and with block

Script:

  var a = 0;
  with (a) {
var dtTime = new Date();
Clib.strftime(dtTime,"%m/%d/%Y %H:%M:%S",Clib.localtime(Clib.time()));
TheApplication().RaiseErrorText("Time: " + dtTime);

Error: "undefined" will be pop-up

Cause

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