| От | Bruno Wolff III |
|---|---|
| Тема | Re: Imprecision of DAYS_PER_MONTH |
| Дата | |
| Msg-id | 20050722165111.GA22231@wolff.to обсуждение |
| Ответ на | Re: Imprecision of DAYS_PER_MONTH ("Dann Corbit" <DCorbit@connx.com>) |
| Ответы |
Re: Imprecision of DAYS_PER_MONTH
|
| Список | pgsql-hackers |
On Thu, Jul 21, 2005 at 13:47:29 -0700, Dann Corbit <DCorbit@connx.com> wrote: > In round figures: > > Since there are 365.2422 days per tropical year, there are 31556926 > seconds per year (give or take leap seconds). > > Ref: > http://www.grc.nasa.gov/WWW/K-12/Numbers/Math/Mathematical_Thinking/cale > ndar_calculations.htm According to the current calendar (again ignoring leap seconds) there are exactly 365.2425 days per year on average. I think it makes sense to use this number when dealing with calendar years and months.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера