<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Everyone..very helpful<div>Cheers</div><div><br><div><div>On 2010-04-16, at 7:41 AM, Rabedeau, Kenneth (Kenneth) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<div dir="ltr" align="left"><span class="050170011-16042010"><font face="Calibri" color="#0000ff">it is POSIX time (sometimes called Unix Epoch time) which is the 
grandaddy of many operating systems, including the ALU TiMOS.&nbsp; Basically, 
it is UTC time elapsed in seconds using 86,400 seconds per day since midnight 
on&nbsp;January 1, 1970, not counting leap seconds.&nbsp; so Example: 1271370712 
= (2010-04-15 22:31:52Z)&nbsp; Z is for Zulu time which is UTC.&nbsp; The 
digital representation of the time allows for easier 
calculations</font></span></div>
<div><span class="050170011-16042010"><font face="Calibri" color="#0000ff"></font></span>&nbsp;</div>
<div><span class="050170011-16042010"><font><font face="Calibri" color="#0000ff">There 
are several converters available such as </font><a href="http://www.epochconverter.com/"><font face="Calibri">http://www.epochconverter.com/</font></a><font face="Calibri" color="#0000ff">.&nbsp; You should be able to see human readable time with [ date 
+%s -d"Jan 1, 1980 00:00:01" ]</font></font></span></div>
<div><span class="050170011-16042010"><font face="Calibri" color="#0000ff"></font></span>&nbsp;</div>
<div><span class="050170011-16042010"><font face="Calibri" color="#0000ff">at CLI look 
in [config/system/time] commands for basic zone and format settings and [admin 
set-time] for manual config.</font></span></div>
<div><span class="050170011-16042010"><font face="Calibri" color="#0000ff"></font></span>&nbsp;</div>
<div><span class="050170011-16042010"><font face="Calibri" color="#0000ff"></font></span>&nbsp;</div>
<div><span class="050170011-16042010"><font><font face="Calibri"><font color="#0000ff">&nbsp;</font></font></font></span></div><font><font face="Calibri"><font color="#0000ff"></font></font></font><br>
<div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:alcatel-nsp-bounces@puck.nether.net">alcatel-nsp-bounces@puck.nether.net</a> 
[mailto:alcatel-nsp-bounces@puck.nether.net] <b>On Behalf Of </b>David 
Schubert<br><b>Sent:</b> Thursday, April 15, 2010 11:02 PM<br><b>To:</b> 
<a href="mailto:alcatel-nsp@puck.nether.net">alcatel-nsp@puck.nether.net</a><br><b>Subject:</b> [alcatel-nsp] SAMO Date 
type<br></font><br></div>
<div></div>
<div>When I get accounting records from the samo SOAP interface, the timestamps 
on the acounting data look like this.</div>
<div><br></div>
<div>ex:</div>
<div>&lt;service.CompleteServiceEgressPacketOctetsLogRecord&gt;</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>...</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><b>&lt;timeRecorded&gt;1271379851000&lt;/timeRecorded&gt;</b></div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>&lt;outOfProfileOctetsForwarded&gt;1243107543&lt;/outOfProfileOctetsForwarded&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;...</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><b>&lt;timeCaptured&gt;1271380452154&lt;/timeCaptured&gt;</b></div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>&lt;children-Set&gt;&lt;/children-Set&gt;</div>
<div>&lt;/service.CompleteServiceEgressPacketOctetsLogRecord&gt;</div>
<div><br></div>
<div>I cant find anywhere in the docs that actually explains explicitly how to 
interpret these numbers.</div>
<div><br></div>
<div>One clue may be from From the SAM xml reference where I see:</div>
<div><br></div>
<div><a name="timeRecorded">timeRecorded:&nbsp;<span class="Apple-style-span" style=""><i>type=</i>Date;&nbsp;<i>access=</i>read-only;&nbsp;<i>default=</i>0</span></a></div>
<div>How do I change the number&nbsp;<span class="Apple-style-span" style="FONT-WEIGHT: bold">&lt;timeCaptured&gt;1271380452154&lt;/timeCaptured&gt;&nbsp;i</span>nto 
a meaningful date?</div>
<div><br></div>
<div>Thx</div>
<div>Dave</div></div>
</blockquote></div><br></div></body></html>