Escaping from the tedium of naive datetime objects.

Discussion in 'Python' started by Adam Tauno Williams, Oct 26, 2012.

  1. Yesterday I stumbled upon a nice solution to dealing with naive
    datetimes vs. localized datetimes, and much of the tedium that issues
    from that problem. Maybe this is very common knownledge but it wasn't
    mentioned in anything I've read - it really cleans up some opertaions.

    <http://www.whitemiceconsulting.com/2012/10/setting-course-for-utc.html>


    [constructive] Feedback and other suggestions appreciated.

    --
    Adam Tauno Williams <>
     
    Adam Tauno Williams, Oct 26, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christos TZOTZIOY Georgiou
    Replies:
    3
    Views:
    1,030
    Christos TZOTZIOY Georgiou
    Sep 13, 2003
  2. Adam Monsen
    Replies:
    1
    Views:
    417
    Adam Monsen
    Sep 1, 2005
  3. mp
    Replies:
    1
    Views:
    667
    John Machin
    Jul 28, 2006
  4. 7stud
    Replies:
    11
    Views:
    1,062
    Dennis Lee Bieber
    Mar 20, 2007
  5. Martin
    Replies:
    0
    Views:
    628
    Martin
    Dec 27, 2008
  6. Replies:
    2
    Views:
    1,052
    M.-A. Lemburg
    Jan 6, 2009
  7. Xah Lee
    Replies:
    4
    Views:
    366
    Kenneth Tilton
    Jun 6, 2009
  8. NiklasRTZ

    datetime.datetime. or datetime. ?

    NiklasRTZ, Oct 8, 2009, in forum: Python
    Replies:
    10
    Views:
    746
    niklasr
    Oct 11, 2009
Loading...