I need to display timestamp of a post with in django template. The timestamp would be like:
\"timestamp\":1337453263939 in milli seconds
I
Just write a custom filter that converts your timestamp string to a datetime object. Then you can either further process it into something readable (a string representing your time) and return it to your template or just return a python datetime object and use django's date filter.
So you could have something like this {{ timestamp_string|convert_to_datetime|date:'D d M Y' }}
More on this subject at: https://docs.djangoproject.com/en/dev/howto/custom-template-tags/