| От | Thomas Lockhart |
|---|---|
| Тема | Re: Find all the dates in the calendar week? |
| Дата | |
| Msg-id | 39648E4F.2C9A91F9@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | RE: Find all the dates in the calendar week? (Karel Zak <zakkr@zf.jcu.cz>) |
| Ответы |
Re: Find all the dates in the calendar week?
|
| Список | pgsql-general |
> ISO-week: week that has more than 4 day and start in Sunday.
> In future I try implement 'IW' that is ISO-week, but now I work on different
> things.
> In current 7.0 is probably better for week operations use
> date_part('week', TIMESTAMP) than to_char().
Note that the above returns ISO-week, not some Sun-Sat thing ('dow' ==
"day of week" does that). I haven't yet implemented ISO-year (Karel?)
which would seem to be an essential piece to use ISO-week effectively.
- Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера