Re: Re: First Saturday and Last Saturday of a month
От | Alex Page |
---|---|
Тема | Re: Re: First Saturday and Last Saturday of a month |
Дата | |
Msg-id | 045f01c120e9$227a6540$7fc472c1@solidstatelogic.com обсуждение исходный текст |
Ответ на | First Saturday and Last Saturday of a month ("Brian C. Doyle" <bcdoyle@mindspring.com>) |
Ответы |
Re: Re: First Saturday and Last Saturday of a month
|
Список | pgsql-general |
From: "Allan Engelhardt" <allane@cybaea.com> To: "Brian C. Doyle" <bcdoyle@mindspring.com>; <pgsql-general@postgresql.org> Sent: Wednesday, August 08, 2001 11:18 PM Subject: [GENERAL] Re: First Saturday and Last Saturday of a month > You *do* know the algorithm for testing if year yyyy is a leap year, don't you? > ((yyyy%4) && !(yyyy%400)) ITYM ((yyyy%4) && ( !(yyyy%400) || (yyyy%1000) ) - year 2000 was a leap year, even though it was a multiple of 400, because it was a millenium. Alex -- Alex Page, IT Department, Solid State Logic E-Mail: alex.page@solid-state-logic.com Phone: +44 (0) 1865 842 300 Web: http://www.solid-state-logic.com ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
В списке pgsql-general по дате отправления: