I am getting messages saying I'm a spammer. What happened to this list? People are infested with viruses?
On 26 ago, 16:43, Guevara <eguevara2...@gmail.com> wrote: > Hello! > A date is sent from another server via POST to my app in this format > > date = datetime.now().strftime('%d/%m/%Y %H:%M:%S') > > output: 26/08/2011 16:30:03 > > And must enter the default format DateTime.Now (). > This format can save, but the date is generated on another server, > then have to store in this format: > > 2011-08-25 22:13:32.726675-03 > > I tried converting a variety of ways, with strptime and strftime, > without success. > > How do I convert this "date" to this default format in django? Postgre > store this timastamp in this format. > > Regards! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.