Strtojavadate Throws Error After Upgrade To 2016 R1 [strtojavadate() Function: The date string "XXXX-XX-XX 00:00:00" Cannot be Converted to Date Object With Format "yyyy-MM-dd hh:mm:ss"] (Doc ID 2231093.1)

Last updated on FEBRUARY 13, 2017

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 2016 R1 and later
Information in this document applies to any platform.

Symptoms

After the environment was upgraded to 2016 R1 and newer, the BML function strtojavadate() generates an error. The code has not been changed and was working fine in the former 2015 release.

strtojavadate() function: The date string "2018-01-25 00:00:00" cannot be converted to date object with format "yyyy-MM-dd hh:mm:ss".

Changes

Upgrade to 2016 R1 and newer

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