|
Email lists >
Professional PHP >
[Pro. PHP Dev.] Re: Date problem >
[Pro. PHP Dev.] Re: Date problem
[Pro. PHP Dev.] Re: Date problem
This post if a part of this thread
|
2008-02-24 08:55:15 |
|
|
Re: Date problem
|
|
|
|
I remember a discussion I had on the same group with someone and yeah I presented a solution; infact a number of solutions so you can study all at
Regards,
Fahd Murtaza,
On 2/22/08, BRADINO < brad eduinteractive.com">brad eduinteractive.com> wrote:
Forget about all that code to generate the late for last Sunday, use this, it will work when last Sunday was in a different month and if it
was in a different year:
$daycheck = date('Y-m-d', mktime(0, 0, 0, date('m'), date('d') - date(9;w'), date('Y'))); Genuine AllExperts Expert Check out my bio/ratings page! http://www.experts-exchange.com/M_1428135.html
--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.
For information or project assistance please visit :
http://www.360psg.com
You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP -~----------~----~----~----~------~----~------~--~---
|
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|