Used a model manager that added a column to the row (p.js_timestamp =
time.mktime(p.datetime.timetuple()) * 1000)
Matt
On 29 Nov, 18:16, Matt Thompson <thompson...@gmail.com> wrote:
> Hello guys and girls,
>
> I'm looking to use Flot to graph some data I have in my Django app.
> I'd like to graph a time based query and need to get the time is
> Javascript format (milliseconds since 01/01/1970).
>
> I can get it into seconds\unix format, this is seconds since
> 01/01/1970, but not milliseconds.
>
> Can anyone help?
>
> Thanks,
> Matt
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment