|
Posted by AnrDaemon on 11/06/07 11:23
Greetings, Jerry Stuckle.
In reply to Your message dated Tuesday, November 6, 2007, 08:28:20,
> AnrDaemon wrote:
>> Greetings, Jerry Stuckle.
>> In reply to Your message dated Monday, November 5, 2007, 17:42:13,
>>
>>> echo date("F",strtotime(-date('j') . ' days'));
>>
>> Another piece of ***:
>>
>> date('F', mktime(1, 1, 1, date('m')-1, 1, date('Y')));
>>
>> ;)
>>
>>
> Yours fails in January.
Check it before posting such silliness.
<?php
echo date('D d F, Y', mktime(1, 1, 1, 0, 1, 2007));
?>
Intended answer:
Fri 01 December, 2006
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
Navigation:
[Reply to this message]
|