in reply to Re^2: Date Timezone
in thread Date Timezone

being that $offset_days and $offset seem to have a global scope i would look to see if there are side effects in the other code from resetting them, such as loops terminating early or exit getting called