Re: dst and strtotime
| From: | Tijnema ! | Date: | Tue, 13 Mar 2007 16:52:46 +0000 |
| Subject: | Re: dst and strtotime | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250461@lists.php.net to get a copy of this message | ||
On 3/13/07, Jake McHenry <linux@nittanytravel.com> wrote:
Has or can anyone try this on PHP5 to see if it does the same? I'll upgrade if needed, but didn't really want to at the current time...... Thanks Jake As i said before i don't think it has to do with PHP version, but withyour timezone setting. Here the result is good, but i think that's because i'm in the netherlands, but i AM using PHP 5. Tijnema
On Tue, 2007-03-13 at 12:31 -0400, Jake McHenry wrote:Funny stuff... I get the same under Ubuntu 6.10 with php 4.4.4 (manual build). Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn |What is the output of the below? echo date("Y-m-d g:i A T", time()); echo date("Y-m-d g:i A T", strtotime("last sunday"));-----Original Message----- From: Jake McHenry [mailto:linux@nittanytravel.com] Sent: Tuesday, March 13, 2007 11:22 AM To: For users of Fedora; PHP-General Subject: Re: [PHP] dst and strtotime A little more info:strtotime("last monday") or yesterday, is correct, butstrtotime("last sunday") gives me 3/10 (saturday), strtotime("last saturday") gives me 3/9 (Friday), "last friday" gives me 3/8 thursday...... etc. maybe it will go away after a week??????2007-03-13 12:30 PM EDT 2007-03-10 11:00 PM EST| also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. |`------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php