thanks i&#39;ll keep that in mind.<br><br><div class="gmail_quote">2010/6/2 Roderick A. Anderson <span dir="ltr">&lt;<a href="mailto:raanders@cyber-office.net">raanders@cyber-office.net</a>&gt;</span><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="im">khalid touati wrote:<br>
&gt; Hi Guys,<br>
&gt; for people who may have the same issue:<br>
&gt; i was just not using STRFTIME the right way, after consulting docs, i&#39;m<br>
&gt; using it like this:<br>
&gt; exten =&gt;<br>
&gt; 8888,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},America/New_York,%F_%T)})<br>
&gt;<br>
&gt; instead of this:<br>
&gt; exten =&gt;<br>
&gt; 8888,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},GMT-5,%F_%T)})<br>
&gt; and it&#39;s displaying the right time now!!<br>
<br>
</div>You might need to put America/New_York in quotes -- &#39;America/New_York&#39;<br>
or &quot;America/New_York&quot;.<br>
<br>
This based on my experience with the Perl DateTime module.  Of course<br>
YMMV and you have it working now.  :-)<br>
<br>
<br>
\\||/<br>
Rod<br>
--<br>
&gt;<br>
&gt; 2010/4/13 Danny Nicholas &lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a> &lt;mailto:<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;&gt;<br>
<div><div></div><div class="h5">&gt;<br>
&gt;     My &quot;derailed&quot; train of thought came from OP&#39;s mention of Centos 5.3<br>
&gt;     - I have<br>
&gt;     to do a &quot;hwclock -s&quot; on my 5.3 box at least daily to keep a<br>
&gt;     reasonable time.<br>
&gt;<br>
&gt;     -----Original Message-----<br>
&gt;     From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
&gt;     &lt;mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>&gt;<br>
&gt;     [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
&gt;     &lt;mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>&gt;] On Behalf Of Tilghman<br>
&gt;     Lesher<br>
&gt;     Sent: Tuesday, April 13, 2010 2:58 PM<br>
&gt;     To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
&gt;     Subject: Re: [asterisk-users] Time variables in system application<br>
&gt;<br>
&gt;     On Tuesday 13 April 2010 14:00:36 Danny Nicholas wrote:<br>
&gt;      &gt; Just what I thought - guess that&#39;s the X&#39;th time I wuz wrong today.<br>
&gt;<br>
&gt;     The only difference between what I think you&#39;re calling the system time<br>
&gt;     (output of date) and Asterisk is that Asterisk uses a different<br>
&gt;     (internal)<br>
&gt;     library to convert the epoch-based time into a broken-out date.  Both<br>
&gt;     are using exactly the same value internally, however.  Hardware clock is<br>
&gt;     generally how system time is set initially at boot, though with NTP<br>
&gt;     servers<br>
&gt;     and system skew, it&#39;s possible for the two values to drift apart<br>
&gt;     over time.<br>
&gt;<br>
&gt;     --<br>
&gt;     Tilghman Lesher<br>
&gt;     Digium, Inc. | Senior Software Developer<br>
&gt;     twitter: Corydon76 | IRC: Corydon76-dig (Freenode)<br>
</div></div>&gt;     Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> &lt;<a href="http://www.digium.com" target="_blank">http://www.digium.com</a>&gt; &amp;<br>
&gt;     <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a> &lt;<a href="http://www.asterisk.org" target="_blank">http://www.asterisk.org</a>&gt;<br>
<div class="im">&gt;<br>
&gt;     --<br>
&gt;     _____________________________________________________________________<br>
&gt;     -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;     New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;                   <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
&gt;<br>
&gt;     asterisk-users mailing list<br>
&gt;     To UNSUBSCRIBE or update options visit:<br>
&gt;       <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     _____________________________________________________________________<br>
&gt;     -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;     New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;                   <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
&gt;<br>
&gt;     asterisk-users mailing list<br>
&gt;     To UNSUBSCRIBE or update options visit:<br>
&gt;       <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Abdullah<br>
&gt;<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Abdullah<br>