Matus,<div><br></div><div>times on the client and the server in a HTTP connection are not synchronized, so you could not rely on the time sent by the client anyway.</div><div><br></div><div>The server can send its own timestamp when a resource was last modified in the Last-Modified header, and that timestamp can be used by the client in subsequent requests to prevent the server from generating and sending the same content again if it has not been modified (Last-Modified-Since request header).</div>
<div><br></div><div>Please refer to <a href="http://tools.ietf.org/html/rfc2616">http://tools.ietf.org/html/rfc2616</a> for a precise description of these headers and mechanisms.</div><div><br></div><div>HTH,</div><div>-Hans<br>
<br><div class="gmail_quote">On Fri, Jul 29, 2011 at 9:42 AM, Matus Kmit <span dir="ltr"><<a href="mailto:simply.nitaai@gmail.com">simply.nitaai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everyone<br>
<br>
i am new to web programming and hunchentoot. i have the following question:<br>
<br>
How do one get client's time with hunchentoot? Does the http request<br>
contain this information and can one inspect on that within<br>
hunchentoot? Or what is the other way to do it?<br>
<br>
On my main page, i need to know the exact hour and minute of the<br>
client before generating the appropriate site content.<br>
<br>
Thanks<br>
Matus<br>
<br>
_______________________________________________<br>
tbnl-devel site list<br>
<a href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br>
</blockquote></div><br></div>