[EMAIL PROTECTED] <> wrote:
: Gurus,
: 
: A simple one: what's the best, quickest, way to get the difference
: between two dates. They're both in the same format: "YYYYMMDD". One
: of them gets ginned up into that format starting from a call to time
: (that is, $x = time; stuff happens to $x; $y ends up "20051031";),
: the other's read in as a string from a file.    

    Read perlfaq4:

    How can I compare two dates and find the difference? and
    How can I take a string and turn it into epoch seconds?


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
  • RE: Comparing dates Charles K. Clarkson

Reply via email to