how can I compare the time stamp information that's stored as a string with a timestamp that's a datetime object stored through app engine?
timestring = self.request.get('timestamp') timestring = timestring[0: timestring.find(".")]; timeformat = "%Y-%m-%d %H:%M:%S" newtime = datetime.datetime.fromtimestamp(time.mktime (time.strptime(timestring, timeformat))) this piece of code tries to convert the string into a datetime object, but the problem is that the version of python app engine uses doesn't support milliseconds. as you can see I'm trucating the milliseconds before i pass the timestring into strptime How can i get around this? Or can somebody from google answer whether app engine would support the next version of python which does support milliseconds in the strptime function? Jill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---