Hi Udara,

What is the converter you are using? It seems that the bam sample gives
timestamp in milliseconds and the converter assumes it to be in seconds. If
you use an online tool like [1], you get the correct time even for
1395031309118
by assuming milliseconds.

HTH,
Lasantha


On 17 March 2014 11:15, Udara Rathnayake <[email protected]> wrote:

> Hi all,
>
> After running the $Subject I went through the
> org_wso2_bam_phone_retail_store_kpi column family. I noticed the value of
> column "Timestamp" is different from the current-time and messed up in all
> activities.
>
> Eg:- When I convert the unix time-stamp 1395031309118 to readable format
> it gives Sat, 12 Oct 46176 16:58:38 GMT.
>
> If I remove the trailing 118 from the time-stamp value 1395031309*118* it
> gives Mon, 17 Mar 2014 04:41:49 GMT. Is there any particular reason to have
> this?
>
> Regards,
> UdaraR
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 772207239
> Twitter : http://twitter.com/udarakr
> Blog    : http://udarakr.blogspot.com
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: [email protected]
mobile: (+94) 71 5247551
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to