You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Date Conversion error

edited Nov 15, 2019 2:12PM in Integration 4 comments

Summary

Getting type/cast error when calculating Date 30 days before.

Content

Hi - trying to get date 30 days before but getting error FORG0001: invalid value for cast/constructor. The Batch_Date is being read through a stage read activity and the csv schema already has the column type as date. Also tried to explicitly convert by putting it within xsd:date(). Still get the same error.

Expresion used: <xsl:value-of select = "$currLineReadFile/nsmpr1:readFileRecord/nsmpr1:Batch_Date - xsd:dayTimeDuration('P30D')">

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!