Hi Payal,
On Sep 7, 10:42 am, Payal Doshi <
payalbdo...@gmail.com> wrote:
> I am using historical data about people using data_series. I want to
> display it to the user with date and time but I am not able to
> understand how to convert the dates received to user recognizable
> format. say DD/MM/YY HH:MM:SS
>
> Can you please tell how to go about it or give to a pointer to know
> these details.
Dates returned by the chartbeat API are unix timestamps. So to convert
it to a string in for example javascript you can do:
new Date(1315541100 * 1000).toString()
> Also does Chartbeat provide an API to find average,min,max time spent
> by each user on the website.
You can't get it on a per user level, but you can get it on a per page
level. Is that what you want?
Allan