[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628314#action_12628314
 ] 

Patrick Conway commented on HTTPCLIENT-794:
-------------------------------------------

Thanks , I never knew that GMT didnt use daylight savings.

I had originally presumed it was the server but was thrown off, when every 
server I tried responded with the same GMT time.



> HTTP.DATE_HEADER
> ----------------
>
>                 Key: HTTPCLIENT-794
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-794
>             Project: HttpComponents HttpClient
>          Issue Type: Question
>          Components: HttpClient
>    Affects Versions: 4.0 Beta 1
>         Environment: MAC OS X, Eclipse, 
>            Reporter: Patrick Conway
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In my code below the Time Stamp returned in Headers is always off by an hr?
> At the time of running the code it was 11.38 GMT
> Any idea where the problem is ?  Is it correctable in my code?
> I've checked the time, both on the client and server and both are correct
> "
>   HttpResponse response = httpclient.execute(httpget);
>         HttpEntity entity = response.getEntity();
>         
>         Header h1 = response.getFirstHeader(HTTP.DATE_HEADER);
> "
> output
> 2604 [main] DEBUG org.apache.http.headers SiteMonitor - << Date: Thu, 04 Sep 
> 2008 10:38:55 GMT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to