I have a WebService which return DateTime Field.
I get a result /Date(1379048144000)/
but
i want just 1379048144000
how can i achieve that.
[WebMethod]
public DateTime GetServerDate()
{
return DateTime.Now;
}
by setting Header Content-Type: application/json; charset=utf-8; i got a result like /Date(1379048144000)/
.