Hi Peter,

maybe this helps:

http://www.djangosnippets.org/snippets/387/

I have used it before, worked fine.

Best Regards,

Jesaja Everling


On Sun, Nov 30, 2008 at 11:17 PM, Peter <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>  I want to generate a integer that represents the current date so
> that I can do
>
>  var d = new Date(valueFromAppEngine);
>
>  I'm using django and currently trying this, which of course doesn't
> work (otherwise I wouldn't be posting this.)
>
> {{lastUpdate|date:"U"}}
>
> where lastUpdate = datetime.now()
>
>  Any tips or thoughts?
>
> Cheers,
> Pete
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to