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
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
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
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
4 matches
Mail list logo