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 <portabled...@gmail.com> wrote: > 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