<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. Basically,
it is UTC time elapsed in seconds using 86,400 seconds per day since midnight
on January 1, 1970, not counting leap seconds. so Example: 1271370712
= (2010-04-15 22:31:52Z) Z is for Zulu time which is UTC. 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> </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">. 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> </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> </div>
<div><span class="050170011-16042010"><font face="Calibri" color="#0000ff"></font></span> </div>
<div><span class="050170011-16042010"><font><font face="Calibri"><font color="#0000ff"> </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><service.CompleteServiceEgressPacketOctetsLogRecord></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><timeRecorded>1271379851000</timeRecorded></b></div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><outOfProfileOctetsForwarded>1243107543</outOfProfileOctetsForwarded></div>
<div> ...</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><b><timeCaptured>1271380452154</timeCaptured></b></div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><children-Set></children-Set></div>
<div></service.CompleteServiceEgressPacketOctetsLogRecord></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: <span class="Apple-style-span" style=""><i>type=</i>Date; <i>access=</i>read-only; <i>default=</i>0</span></a></div>
<div>How do I change the number <span class="Apple-style-span" style="FONT-WEIGHT: bold"><timeCaptured>1271380452154</timeCaptured> i</span>nto
a meaningful date?</div>
<div><br></div>
<div>Thx</div>
<div>Dave</div></div>
</blockquote></div><br></div></body></html>