On Tue, Dec 21, 2010 at 10:03 AM, mikeottinger <[email protected]> wrote: > Hi Guys, > > I really haven't seen any posts that describe my simple problem. I > have some rows in the database with the standard created and modified > "magi-columns". I need to retrieve a grouping of these rows and sort > them by their created date. A lot of these rows are created within > minutes of each other, so comparing by their time is important. If I > run a SQL statement within phpmyadmin (it's a mysql5 database) I see > results like: 2010-11-17 05:43:07. But a find through my Model shows: > 11/17/2010 but no time! Any help on this would be greatly appreciated. > I'm running cakephp 1.2.7 and php 5.3.2 and the mysqli extension.
Where are you seeing this date? It's been formatted somewhere to look like that. Try debugging your data. It should look the same as in the database. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
