Hi Guys,<br>for people who may have the same issue:<br>i was just not using STRFTIME the right way, after consulting docs, i&#39;m using it like this:<br>exten =&gt; 8888,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},America/New_York,%F_%T)})<br>
<br>instead of this:<br>exten =&gt; 8888,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},GMT-5,%F_%T)}) and it&#39;s displaying the right time now!!<br><br><br><br><br><div class="gmail_quote">2010/4/13 Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</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;">My &quot;derailed&quot; train of thought came from OP&#39;s mention of Centos 5.3 - I have<br>

to do a &quot;hwclock -s&quot; on my 5.3 box at least daily to keep a reasonable time.<br>
<div class="im"><br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Tilghman<br>
Lesher<br>
Sent: Tuesday, April 13, 2010 2:58 PM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] Time variables in system application<br>
<br>
</div><div><div></div><div class="h5">On Tuesday 13 April 2010 14:00:36 Danny Nicholas wrote:<br>
&gt; Just what I thought - guess that&#39;s the X&#39;th time I wuz wrong today.<br>
<br>
The only difference between what I think you&#39;re calling the system time<br>
(output of date) and Asterisk is that Asterisk uses a different (internal)<br>
library to convert the epoch-based time into a broken-out date.  Both<br>
are using exactly the same value internally, however.  Hardware clock is<br>
generally how system time is set initially at boot, though with NTP servers<br>
and system skew, it&#39;s possible for the two values to drift apart over time.<br>
<br>
--<br>
Tilghman Lesher<br>
Digium, Inc. | Senior Software Developer<br>
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> &amp; <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<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>
<br>
<br>
--<br>
_____________________________________________________________________<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>