Joseph Paterson
Joseph Paterson

Reputation: 1493

Parsing a JSON date that looks like this: /Date(-62135596800000)/

I've come across a funky looking JSON date in some data I'm trying to parse in Java: /Date(-62135596800000)/. I have no issues parsing dates like these without the minus sign, but I'm not sure how to parse it with the minus. FYI I believe the date should represent sometime today (somewhere between 4-4:30 PM on 06/02/13 at GMT+10).

Many thanks in advance for any help!

Joseph.

Upvotes: 3

Views: 4357

Answers (1)

Rahul Bagal
Rahul Bagal

Reputation: 230

This is empty date returned from a WCF or MVC webservice . It is equivalent to null date .

Upvotes: 1

Related Questions