Skip to main content
Level 2
Feb 21, 2017 12:45 PM UTC
Solved

Facing issue while updating date column in schema

Hi Team,

We are fetching data from api server through javascript, but while updating that data into schema its throwing error for date column.

We given date as datatype for date column.

We are getting date in below format,

"MEMBER_START_DT_CURR":"13\/05\/2017"

kindly find screenshot for the same, below are the sample code we written for updating into schema.

xtk.session.Write('<tempTable _operation="insert" member_start_dt_curr=" '+MEMBER_START_DT_CURR+' " xtkschema="apl:tempTable"/>');

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vraghav
vraghavAccepted solution
Adobe Employee
Feb 24, 2017 10:48 AM UTC

Hi Ulkesh,

Try converting the MEMBER_START_DT_CURR to "2017-05-13 00:00:00.000Z" and see if it helps.

Regards,
Vipul

1 reply

vraghav
Adobe Employee
vraghavAdobe EmployeeAccepted solution
Adobe Employee
Feb 24, 2017 10:48 AM UTC

Hi Ulkesh,

Try converting the MEMBER_START_DT_CURR to "2017-05-13 00:00:00.000Z" and see if it helps.

Regards,
Vipul

Translate