Retail Predictive Application Server (MOSC)

MOSC Banner

date() function

Hi,

We are in RPAS cloud 19.0.0.6.

We have a rule dateMeas = date(dateStr, "%Y%m%d"), but got the error mesasage:

DateTimeFormat - Parameter () does not conform to the specified format char %Y because it does not contain enough characters

dateStr is a string measure with value like 20210514.

Am i missing anything here?

I do not remembered i got this error in non-cloud RPAS.

I tried dateMeas = date("20210514", "%Y%m%d"), and it worked.

Thanks,

Steven

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center