RAD Studio VCL Reference
TWebRequest.IfModifiedSince Property

Reports the value of the If-Modified-Since header of the HTTP request message.

property IfModifiedSince: TDateTime;
__property TDateTime IfModifiedSince;

Read IfModifiedSince on a request with a MethodType of mtGet to determine whether the request is conditional. If the information requested by the Web client was not modified since the time indicated by IfModifiedSince, the response should be a not modified error rather than the information indicated by the URL property. 

The value of IfModifiedSince is given according to the local clock, not the clock of the Web client.

Note: On Windows, the value of the local clock is specified in the Windows Control Panel.
IfModifiedSince is represented using the TDateTime type. The integral part of a TDateTime value is the number of days that have passed since Dec. 30, 1899. The fractional part of a TDateTime value is the fraction of a 24-hour day that has elapsed. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!