I am writing an application in which I have a Rest-API
which is getAll()
method and I take date parameter also in this. But when I hit a GET
request in POSTMAN, I see date coming as 1519561301000
instead of '2018-02-25 20:10:29
' . Actual date is there in Mysql DB
.
Is it a known thing or I am going in wrong direction?
In Response creationdate is like this:
"creationtimestamp": 1519569629000,
Any help would be appreciated..
I am using SPRING_BOOT
MysqlDB
and POSTMAN
to check the responses.