Facing issue while updating date column in schema | Community
Skip to main content
Level 2
February 21, 2017
Solved

Facing issue while updating date column in schema

  • February 21, 2017
  • 1 reply
  • 1380 views

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.
Best answer by vraghav

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
February 24, 2017

Hi Ulkesh,

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

Regards,
Vipul