Re: [Tutor] Problems with date

2007-02-02 Thread Kent Johnson
Mário Gamito wrote: > Hi, > > I have this instruction > > print item.date that outputs > > (2007, 1, 23, 18, 35, 33, 1, 23, 0) > > What i'd like to do is to convert it to, for example > > 23-01-2007 18:35:33 That is a struct_time tuple such as would be returned by time.localtime() for exampl

Re: [Tutor] Problems with date

2007-02-02 Thread Mário Gamito
Hi, Don't bother, i already got there :) Warm Regards, Mário Gamito Mário Gamito wrote: > Hi, > > I have this instruction > > print item.date that outputs > > (2007, 1, 23, 18, 35, 33, 1, 23, 0) > > What i'd like to do is to convert it to, for example > > 23-01-2007 18:35:33 > > I've googl

[Tutor] Problems with date

2007-02-02 Thread Mário Gamito
Hi, I have this instruction print item.date that outputs (2007, 1, 23, 18, 35, 33, 1, 23, 0) What i'd like to do is to convert it to, for example 23-01-2007 18:35:33 I've googled for an answer, but couldn't get there. Something is escaping me. Any help would be appreciated. Warm Regards, Má