The built-in function strftime properly (imho) responds to the '%w' command
for day of week with Sunday as day 0.
e.g. - strftime ('%w','2013-06-19')
-> 3
But the built-in function for returning week of the year treats weeks as
though they begin on Monday, not Sunday:
e.g.
strftime ('%W','2013-06-19')
-> 24
strftime ('%W','2013-06-17')
-> 24
strftime ('%W','2013-06-16')
-> 23
It seems to me these useful functions are inconsistent. Is it possible to
modify %W to treat Sunday as the first day of the week?
Thanks,
Denis Burke
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users