Re: Periods with UNIX timestamps

From: Date: Wed, 29 May 2002 20:18:40 +0000
Subject: Re: Periods with UNIX timestamps
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99796@lists.php.net to get a copy of this message
On Wed, 29 May 2002 webmaster@tececo.com wrote: > Where is the best place to find out the values in seconds(i.e. UNIX time > stamps) for standard periods of time such as one day and one week and > one month(The month thing would need to be correct for each month) This is top-secret copyrighted information, so please don't spread it. * There are 60 seconds in a minute. * 60 minutes in an hour. * 24 hours in a day. * 7 days in a week. * Months 1, 3, 5, 7, 8, 10, and 12 have 31 days. * Months 4, 6, 9, and 11 have 30 days. * Month 2 has 28 days normally, but 29 if it's a leap year. * Leap years are those with a year number divisible by four. Years with number divisible by 100 are not leap years, but those divisible by 400 are. * There are 12 months in a year. * There are 365 days in a normal year and 366 days in a leap year. * 10 years in a decade. * 10 decades in a century. Remember, this information is all very confidential, which is probably why you couldn't find it anywhere and were never taught it in school and don't own any clocks or calendars. miguel

« previous php.general (#99796) next »