[Python-Dev] Issue 2736: datetimes and Unix timestamps (original) (raw)
Dirkjan Ochtman dirkjan at ochtman.nl
Mon Jun 4 14🔞42 CEST 2012
- Previous message: [Python-Dev] Issue 2736: datetimes and Unix timestamps
- Next message: [Python-Dev] Issue 2736: datetimes and Unix timestamps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jun 4, 2012 at 2:11 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
My perspective is that if I'm dealing with strictly absolute time, I should only need one import: datetime
If I'm dealing strictly with relative time, I should also only need one import: time
Can you define "relative time" here? The term makes me think of things like timedelta.
Personally, I would really like not having to think about the time module at all, except if I wanted to go low-level (e.g. get a Unix timestamp from scratch).
Cheers,
Dirkjan
- Previous message: [Python-Dev] Issue 2736: datetimes and Unix timestamps
- Next message: [Python-Dev] Issue 2736: datetimes and Unix timestamps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]