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

Ortwin Glück commented on HTTPCLIENT-794:
-----------------------------------------

If you need an update about time and time zones, I suggest you read my very 
popular article here: http://www.odi.ch/prog/design/datetime.php

> 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