Although the "subtracting hours" method is highly risky, for a variety of reasons, it does work if you use it within reason.

It would be highly advisable to subtract 26 hours from noon on the day in question, which allows for those wacky time zones which shift 1.5 hours. This should put you at anywhere from 10am to 12pm on the day prior, depending on how wacky the time zone in question is. It should never, though put you more than a single day back. The UNIX time system thankfully can't represent time around the Gregorian Reformation of 1582 which skipped 10 days(!) to make the calendar Leap Year Compliant.

ObUselessFact:
BTW, there are more than 60 seconds in a minute. Every year the atomic clock people add or subtract several "leap seconds" to make sure that noon is noon. This is the fundamental difference between GMT and UCT (Universal Coördinated Time). With all the water, air, wind, and tectonic movement, the Earth is not spinning at a precise rate, and corrections must be made to keep things exactly on time. However, unless your computer had an atomic clock in it that was constantly synchronized to UCT, you shouldn't worry too much about this.

In reply to Re^3: On the peril of discounting intuition by tadman
in thread On the peril of discounting intuition by dws

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.