RE: [PHP] Week of month
| From: | Matt Williams | Date: | Thu, 01 Nov 2001 10:36:50 +0000 |
| Subject: | RE: [PHP] Week of month | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73136@lists.php.net to get a copy of this message | ||
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 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 purpose or write your own.
> Remember the actual first day of a week can be country specific.
>
>
Attachment: [application/x-compressed] Date_Calc-1.2.4.tar.gz
Attachment: [application/x-compressed] Date_Calc-1.2.4.tar.gz