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
Im sorry. I missed the tag '[web2py]'
-- Forwarded message --
From: dorasan portabled...@gmail.com
Date: 2011/6/25
Subject: how to round the number of seconds
To: web2py-users web2py@googlegroups.com
Hello everyone.
Could you tell me how to round the number of seconds which
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
THANK YOU!!!
2011/6/25 Bruno Rocha rochacbr...@gmail.com
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
4 matches
Mail list logo