Are you certain the timestamp remains the same? Did you echo that in
the view along with the formatted date?

On Wed, Feb 25, 2009 at 2:51 PM, joseph7 <[email protected]> wrote:
>
> No one's ever had this happen then? Ever?
>
> On Feb 20, 11:12 pm, Joe <[email protected]> wrote:
>> So I'm passing a unix timestamp from a database query in my model to
>> my view. I'm using the date() function in the view to format it. I go
>> to the page and it'll display a time like 10:00pm, I hit refresh, and
>> then it displays a time an hour before, at 9:00pm. I'll refresh a few
>> more times and it'll go and forth between 10 and 9 a bunch of times. I
>> have no idea why in the world it would do this. I ran a php script
>> outside of cakephp and Date seems to work fine/consistently. Has
>> anyone ever seen such behavior in cake?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to