RE: [PHP] Date functions differences between php 4 and 5
| From: | Jake McHenry | Date: | Fri, 23 Mar 2007 00:19:58 +0000 |
| Subject: | RE: [PHP] Date functions differences between php 4 and 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251144@lists.php.net to get a copy of this message | ||
I just asked this a bit ago. Time and Date seem to be the same, but
strtotime is definitly different, as that was what broke in my script in
php4, and I was told it worked as expected in php5.
> -----Original Message-----
> From: Chris [mailto:dmagick@gmail.com]
> Sent: Thursday, March 22, 2007 7:18 PM
> To: Paul Nowosielski
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Date functions differences between php 4 and 5
>
> Paul Nowosielski wrote:
> > Dear All,
> >
> > I was wondering if there are any major date function
> changes between php4 and
> > 5.
>
> I don't think so but check the docs:
> http://www.php.net/manual/en/faq.migration5.php
>
> > When I say date function I mean mktime() , date() ,strtotime() etc.
> >
> > Here is my dilemma, I've upgraded from php4 to php5. there
> is some very old
> > legacy code that is not working correctly.
> >
> > Specifically on our sales calendar. Some task show up but
> most don't.
> > I have the old site and the new upgraded site on the same db.
> > When entering a new task on the calendar, tasks enter w/
> the new system show
> > up on the new system and not on the old. Most old tasks
> don't show up on the
> > new.
>
> That could be a register_globals issue - there's no way for
> us to know
> what's going on without seeing the code.
>
> Time to start digging.
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.17/730 - Release
> Date: 3/22/2007 7:44 AM
>
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007
7:44 AM