It was confirmed as a docs bug some time ago: http://quality.livecode.com/show_bug.cgi?id=16044
Panos -- On Wed, Jan 25, 2017 at 5:23 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I believe it depends on the system settings. If your localization is set > to where Sunday is the 1st day of the week, then Wednesday would in fact be > the 4th. > > Bob S > > > On Jan 25, 2017, at 09:16 , Ben Rubinstein via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> > wrote: > > The dictionary says that the seventh item of dateitems is > the numeric day of the week where Monday is day 1, Tuesday is day 2, and > so forth > > When I try this I find that today, Wednesday, the seventh item is 4. If I > change the date to Sunday, it's 1. > > (Both docs and behaviour are consistent with 6.7.11 or 8.1.3 (rc 1) or > versions in between.) > > Is this an error in the documentation, or an error in the code (in which > case too long standing to change, so it might as well be treated as an > error in the docs); or is it due to some setting somewhere? > > TIA. > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode