LastModified method

This method returns the date of last modification of the document, previously fetched by the FetchData method.

LastModified [gmt]

Parameters

gmt
Optional. The zero value means that the date will be returned as local time. The 1 value means the date will be returned as GMT time. The default value is 0.

Notes

The method uses the information about document last modification returned by server. If server did not return such information, the method returns the empty value.

Example


' Send request
http.FetchData url
if http.StatusCode = 200 then
  doc_date=http.LastModified
end if