Yeah, Greg's method works a treat, but I'm struggling to figure out how to go the otherway.
Cheers, Pete On 1 Dec, 19:06, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > Did you try the conversion? > > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." > > On Mon, Dec 1, 2008 at 1:04 PM, Peter <[EMAIL PROTECTED]> wrote: > > > Thanks for the tips guys! > > > For bonus points, how do I go the otherway. > > > That is, given a time in milliseconds how do I convert it to a > > datetime in python? > > > cheers, > > Pete > > > On 1 Dec, 10:25, Greg <[EMAIL PROTECTED]> wrote: > > > Javascript requires an integer in milliseconds, and time.time() gives > > > you floating point seconds, so lastUpdate=int(time.time()*1000) should > > > do it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
