queryDate

queryDate(): TimeStamp;

The queryDate method of the JadeHTTPConnection class returns the timestamp at which the response message originated.

This method returns a timestamp representing the date and time of origin on the response message (for example, Mon, 27 Jun 2011 23:43:27 GMT); or it returns null if the response message is empty.

You can call this method to check the "Date" header before calling the queryInfo method, for example.