Re: [PHP] Last Friday of every month
On Mar 14, 2008, at 11:44 AM, Philip Thompson wrote:
> On Mar 13, 2008, at 8:12 PM, VamVan wrote:
>
>> Can you tell me how to do this ?
>>
>> suppose I have a date variable = '02/23/2008'
>>
>> i need to know if this is the last friday of february....
>>
>> let me know.
>
> There are plenty of ways. Here's a couple:
>
> OS X:
> 1. Finder > Applications > iCal (or Command-space for Spotlight, and
> then type 'ical')
> 2. Click on Month (if not already selected)
> 3. Scroll to February
> 4. Look
>
> Windows:
> 1. Double-click the clock in the task bar
> 2. Scroll to February
> 3. Look
Can't forget *nix:
1. Open a terminal and type the following
%> cal 2 2008
> HTH,
> ~Philip
>
> PS... For a programmatic way, consult the PHP date functions...
|