Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: time difference

by BrowserUk (Patriarch)
on Aug 01, 2005 at 06:36 UTC ( #479811=note: print w/replies, xml ) Need Help??


in reply to Re^2: time difference
in thread time difference

Two problems.

  • First I forgot that -C -A & -M give their results in days rather than seconds like every other timestamp.
  • Second, the days will always be +1 (because days of the month start from 1) and it would only work for values less than 31 (number of days in January).

    Original posts updated to reflect my laxity.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://479811]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (4)
    As of 2022-08-17 21:52 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?