Facing issue while updating date column in schema

Avatar

Avatar

ulkeshc26364810

Avatar

ulkeshc26364810

ulkeshc26364810

21-02-2017

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"/>');

date.PNG

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vapsy

Employee

Avatar

Vapsy

Employee

Vapsy
Employee

24-02-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

Answers (0)