Re: [web2py] how to round the number of seconds

2011-06-25 Thread portable dora
THANK YOU!!! 2011/6/25 Bruno Rocha > mydate = request.now() > mydate.strftime('%Y-%m-%d %H:%M:%S') > > > > -- > Bruno Rocha > [ About me: http://zerp.ly/rochacbruno ] > > > > On Sat, Jun 25, 2011 at 3:36 AM, dorasan wrote: > >> Hello everyone. >> >> Could you tell me how to round the number of

Re: [web2py] how to round the number of seconds

2011-06-25 Thread Bruno Rocha
mydate = request.now() mydate.strftime('%Y-%m-%d %H:%M:%S') -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] On Sat, Jun 25, 2011 at 3:36 AM, dorasan wrote: > Hello everyone. > > Could you tell me how to round the number of seconds which > 'request.now' represents like this > > '2011

[web2py] how to round the number of seconds

2011-06-24 Thread portable dora
Im sorry. I missed the tag '[web2py]' -- Forwarded message -- From: dorasan Date: 2011/6/25 Subject: how to round the number of seconds To: web2py-users Hello everyone. Could you tell me how to round the number of seconds which 'request.now' represents like this '2011-06-25 1

[web2py] how to round the number of seconds

2011-06-24 Thread dorasan
Hello everyone. Could you tell me how to round the number of seconds which 'request.now' represents like this '2011-06-25 15:26:55.881000' => '2011-06-25 15:26:55' or '2011-06-25 15:26:56' thank you dorasan