Retail Predictive Application Server (MOSC)

MOSC Banner

Date () function

edited Nov 11, 2013 7:00PM in Retail Predictive Application Server (MOSC) 2 commentsAnswered ✓
Hello all!

Could anybody help me with Date() function?

The example of a task is

dateStr – string measure at store level

datetest – date measure at store level

In dateStr we have the strings which conform to the format %Y%m%d, i.e.

……..

“20130304”

“20130305”

…….

I am using the following rule datetest = date(dateStr, "%Y%m%d") and getting the error mesasage:

DateTimeFormat – Parameter () does not conform the specified format ("%Y%m%d") because it does not contain enough characters.

While if I do like this datetest = date(“20130304”, "%Y%m%d"), it works. But it means I only can populate datetest with the same value along the whole hierarchy, It’s not what I need.

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