in reply to Re^3: efficient determination of in/out of hours
in thread efficient determination of in/out of hours including Bank Holidays
The core of the problem is that I am incorrectly storing bank holiday start points in epoch seconds based on UTC0. Of course they actualy start at localtime == 00:00:00. I think I need to revise the code to store bank hols as (YYYY-1900):MM:DD, then compare to the appropriate fields of locatime($epoch).
original node updated with fixed code.
Cheers,
R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: efficient determination of in/out of hours
by soonix (Chancellor) on Oct 18, 2013 at 10:31 UTC | |
by Random_Walk (Prior) on Oct 18, 2013 at 13:09 UTC |