Re: simpler increment of time values?

Discussion in 'Python' started by Devin Jeanpierre, Jul 5, 2012.

  1. On Thu, Jul 5, 2012 at 12:57 AM, Jason Friedman <> wrote:
    > I have some thoughts on a solution, but first, what is 12:45 plus 12
    > hours? What is 12:45 minus 13 hours?


    Is there anything unusual that can happen for a notion of time that is
    dateless, timezone-unaware, and DST-free?

    I would imagine that under these constraints the answers are always
    0:45 and 23:45 respectively. Although I guess it doesn't hurt to check.

    -- Devin
    Devin Jeanpierre, Jul 5, 2012
    #1
    1. Advertising

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. Vlastimil Brom

    simpler increment of time values?

    Vlastimil Brom, Jul 5, 2012, in forum: Python
    Replies:
    5
    Views:
    226
    Steven D'Aprano
    Jul 6, 2012
  2. Chris Angelico

    Re: simpler increment of time values?

    Chris Angelico, Jul 5, 2012, in forum: Python
    Replies:
    0
    Views:
    162
    Chris Angelico
    Jul 5, 2012
  3. Mark Lawrence

    Re: simpler increment of time values?

    Mark Lawrence, Jul 5, 2012, in forum: Python
    Replies:
    0
    Views:
    169
    Mark Lawrence
    Jul 5, 2012
  4. Jason Friedman

    Re: simpler increment of time values?

    Jason Friedman, Jul 5, 2012, in forum: Python
    Replies:
    0
    Views:
    155
    Jason Friedman
    Jul 5, 2012
  5. Vlastimil Brom

    Re: simpler increment of time values?

    Vlastimil Brom, Jul 5, 2012, in forum: Python
    Replies:
    0
    Views:
    156
    Vlastimil Brom
    Jul 5, 2012
Loading...

Share This Page