09:07 1 -14400<br>date: Thu Jun 19 09:07:04 EDT 2008<br>date -u: Thu Jun 19 13:07:06 UTC 2008<br><br>-Jake<br><br><div class="gmail_quote">On Thu, Jun 19, 2008 at 8:52 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Thu, Jun 19, 2008 at 08:08:32AM -0400, J Davis wrote:<br>
<br>
&gt; checking for struct tm.tm_gmtoff ... found<br>
<br>
</div>Well, could you built a new program below and run it with date&#39;s again ?<br>
<br>
-----------<br>
<div class="Ih2E3d">#ifndef _GNU_SOURCE<br>
#define _GNU_SOURCE<br>
#endif<br>
<br>
#include &lt;time.h&gt;<br>
#include &lt;stdio.h&gt;<br>
<br>
int<br>
main()<br>
{<br>
 &nbsp; &nbsp;time_t &nbsp; &nbsp; &nbsp;s;<br>
 &nbsp; &nbsp;struct tm &nbsp; t;<br>
<br>
 &nbsp; &nbsp;tzset();<br>
<br>
 &nbsp; &nbsp;s = time(NULL);<br>
<br>
 &nbsp; &nbsp;(void) localtime_r(&amp;s, &amp;t);<br>
<br>
</div> &nbsp; &nbsp;printf(&quot;%02d:%02d %d %d\n&quot;, t.tm_hour, t.tm_min, t.tm_isdst, t.tm_gmtoff);<br>
<br>
 &nbsp; &nbsp;return 0;<br>
}<br>
-----------<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="Wj3C7c">Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br>