<div dir="ltr">Thank you Jesse, I don't need timezone awareness since RFC 7231 specifies that dates must be specified in GMT.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 3, 2015 at 9:09 AM, Jesse Gumm <span dir="ltr"><<a href="mailto:gumm@sigma-star.com" target="_blank">gumm@sigma-star.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">qdate:to_unixtime(DateStringOrBin) should do the trick for you, with the timezone awareness.</p>
<div class="gmail_quote"><div><div class="h5">On Apr 3, 2015 11:00 AM, "Roberto Ostinelli" <<a href="mailto:roberto@widetag.com" target="_blank">roberto@widetag.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>All,</div><div>The Date field of HTTP headers uses date format as defined in RFC 7231, for example: </div><div><br></div>Date: Tue, 15 Nov 1994 08:12:31 GMT<br><div><br></div><div>What is the fastest way to parse this header and convert it to an epoch time?</div><div><br></div><div>Best,</div><div>r.</div></div>
<br></div></div><span class="">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></span></blockquote></div>
</blockquote></div><br></div>