in reply to determining work hours between 2 dates

DST shouldn't be an issue unless you are working across timezones, e.g. if you wanted to know the number of work hours between midnight in Los Angeles and midnight in Sydney. If you are calculating work hours between any two business days then you will always use the standard 7.5 or 8 hours (depending on your business) as daylight savings takes effect at 3am which doesn't affect normal business hours.

In other words: think about your problem more carefully..

  • Comment on Re: determining work hours between 2 dates

Replies are listed 'Best First'.
Re^2: determining work hours between 2 dates
by CountZero (Bishop) on Jun 12, 2006 at 21:21 UTC
    I can think of any number of businesses that work 24/24 7/7, so DST may be an issue.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      Amen and ++, CountZero. Been there, done that. Hated "fall back" when our kindly and generous employer sought to have us work the extra hour, sans pay (Same employer docked us an hour in the spring).