I need to call one API which having payload
JSON
{
timeAsString :String
}
it is given in the document
timeAsString (int64 (https://developers.google.com/discovery/v1/type-format) format) Timestamp when abc is happen
For that i converted date into milliseconds and send as a string
new Date().getTime().toString();
but it gives me error as invalid argument please let us know where i am wrong. how can we send date in string int64 format?