Hi,
I got the solution from Florian Schwoebel :
"Hi Hakan,
You do not need to convert the format from YYYYMMDDHHMMSS to ‘seconds as of 01.01.1970’. You just need to perform a string manipulation from “20170412143912” to "2017-04-12T14:39:12". JSON will accept this format (all examples in the blog text are checked for correct syntax)"
Hello Hakan,
I found the following information in the Community:
Date and Time in SAP Gateway Foundation
One more ABAP to JSON Serializer and Deserializer
best regards,
Johannes
Hi Johannes,
Thank for the reply. I checked those documents out however there's no specific date and time conversion example for my case. There should be method or sample code about TIMESTAMP to JSON date format.
Add comment