<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY
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> </DIV></FONT></FONT></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> alcatel-nsp-bounces@puck.nether.net
[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>
alcatel-nsp@puck.nether.net<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="COLOR: rgb(0,0,0)"><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></BODY></HTML>