in reply to Inscrutable test failure
On my system (localtime(UnixDate(ParseDate('last sunday'), "%s") || time))[6] returns 0 and (localtime(UnixDate(ParseDate('last saturday'), "%s") || time))[6] returns 6....so I think this obviously varies between systems.
On the other hand... Date_IsWorkDay(ParseDate('last saturday')) works perfectly
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inscrutable test failure
by dsheroh (Monsignor) on Oct 26, 2007 at 21:37 UTC | |
by eric256 (Parson) on Oct 26, 2007 at 21:54 UTC |