Re: [PHP] Week of month

2001-11-01 Thread Jon Farmer
ovember 01, 2001 9:57 AM Subject: RE: [PHP] Week of month > How about; > echo "It is week ".((int)(date("j")/7)+1)." of the month."; > > > -Original Message- > > From: Jon Farmer [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 1 Novemb

RE: [PHP] Week of month

2001-11-01 Thread Matt Williams
Please find attached a very good date class. I can't remeber where I got it from and who wrote it but it's pretty good. M: > -- > > Is there any way to find out the week of the month. Today is in > the first > > week of month. > > > > That is, a function like weekofmonth() which displays 1 toda

RE: [PHP] Week of month

2001-11-01 Thread Andrew Braund
How about; echo "It is week ".((int)(date("j")/7)+1)." of the month."; > -Original Message- > From: Jon Farmer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 1 November 2001 20:14 > To: PHP Masters; Sheni R. Meledath > Subject: Re: [PHP] Week of

Re: [PHP] Week of month

2001-11-01 Thread Jon Farmer
> Is there any way to find out the week of the month. Today is in the first > week of month. > > That is, a function like weekofmonth() which displays 1 today & 2 next week. No builtin function in PHP. You will need to search to see if some kind and generous soul has published their code for this

[PHP] Week of month

2001-10-31 Thread Sheni R. Meledath
Hello: Is there any way to find out the week of the month. Today is in the first week of month. That is, a function like weekofmonth() which displays 1 today & 2 next week. thanks Sheni R Meledath [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [