I forgot to get miliseconds you just have to do:
datetime.getTime();
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users
You can use this format
{{date|date:"Y/m/d H:i:s"}}
d = new Date("2010/11/30 09:58:25");
The problem with ms is that Javascripts accepts only two decimals so
if you want to use miliseconds you can do something like this:
function to_datetime(datetime){
// from python >>> datetime.now().strft
2 matches
Mail list logo