RE: [PHP] Week Number

From: Date: Tue, 01 Jan 2002 00:39:09 +0000
Subject: RE: [PHP] Week Number
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146325@lists.php.net to get a copy of this message
Wouldn't the 53rd week be the first week of the following year! :-) > If you are using MySQL you can use the MySQL function SELECT > WEEK('2001-12-30'); it would return 53 for the 53rd week. > > Hope this helps...Ben > > -----Original Message----- > From: Matt Palermo [mailto:mpalermo@vt.edu] > Sent: Friday, May 02, 2003 10:01 PM > To: php-general@lists.php.net > Subject: [PHP] Week Number > > > Does anyone know if there is a function where I can feed it the day, > month, and year parameters, and it will give me the week number of the > year (like week 1-52)? Please let me know. Thanks. > > Matt > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#146325) next »