|
Posted by Otis on 09/04/07 10:04
These don't help me with the problems I described.
otis
Janwillem Borleffs wrote:
> Otis schreef:
>> PHP is driving me mad with their idiotic way of dealing with dates and
>> date conversions - unless I'm the idiot.
>>
>> Here's what I need:
>>
>> Let's assume the date is $d = "09/03/1951" - Sep 3, 1951
>>
>> How do I get just the year from a date like Sep 3, 1951?
>> How do I get just the day from a date like Sep 3, 1951?
>> How do I get just the month from a date like Sep 3, 1951?
>>
>
> Use the calendar extension:
>
> http://www.php.net/calendar
>
>
> JW
Navigation:
[Reply to this message]
|