Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: Improved timedelta attributes/methods
Kushal Kumaran
3/26/2010 7:40:00 AM
2010/3/26 Christian Stefanescu <st.chris@gmail.com>:
> Hello dear Python-wielding developers!
>
> I generally like date/time handling in Python very much, especially how date
> operations result in Timedelta objects. But I find it somewhat impractical,
> that you can only get days, seconds and microseconds out of a time delta. I
> think it would be much more comfortable to have fields for minutes, hours,
> maybe also years, months. Is there a specific reasoning why this is not
> available?
>
> I would gladly do my best to implement such a solution, if it would make
> sense to the devs.
>
You might want to check out mxDateTime[1]. It has a RelativeDateTime
that seems to do what you like.
[1]
http://www.egenix.com/products/python/mxBase/mxDat...
--
regards,
kushal
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Improved timedelta attributes/methods
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password