Skip to Content

Odata JSON Date Issue Storing Default Value of 01/18/1970

I am facing the issue with the JSON date. Even I am passing the date

"DateCreated": "/Date(1487955965)/" it is always storing as 01/18/1970. We are using the Hub deployment of the Gateway and doing the Development of ODATA is the ECC system. In the Entity Types have defined the Property with the Edm Core Type of "Edm.DateTime" and Prec., Scale and Max as "0". ABAP Field type is defined from the structure with type DAT. In the debug I found while reading the entity type it is always reading the date as "01/18/1970"

Any pointers where to look at will be appreciated. Regards, Rohit

Add comment
10|10000 characters needed characters exceeded

0 Answers