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
In reply to Re: Inscrutable test failure
by eric256
in thread Inscrutable test failure
by dsheroh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |