Or any string that may be parsed with new Date(string)
.
The service returns response in JSON format, like this:
{
"unix": 1164920400000,
"natural": "December 01, 2006"
}
If the date passed in is incorrect the service returns:
{
"unix": null,
"natural": null
}