C
Cartoper
How does one go about formatting the date/time string correctly to set
the If-Modified-Since to the current date/time in an AJAX call? I
know I need something like this:
request.setRequestHeader('If-Modified-Since','Wed, 05 Apr 2006
00:00:00 GMT');
But I don't know how to actually format the date/time string.
the If-Modified-Since to the current date/time in an AJAX call? I
know I need something like this:
request.setRequestHeader('If-Modified-Since','Wed, 05 Apr 2006
00:00:00 GMT');
But I don't know how to actually format the date/time string.