The docs say: "Returns the day of the week as a number, from 1..7, with 1 being Monday and 7 being Sunday."
Actually, they don't. They say:
Returns the day of the week as a number, from 1..7. The day corresponding to 1 will vary based on the locale. See the "Locales" section for more details.
Unless you are using an old version, in which case surely you would have mentioned this. ;-)
🦛
In reply to Re^4: Baffled by DateTime
by hippo
in thread Baffled by DateTime
by BernieC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |