You are here: Re: Query inconsistency (MySQL vs PHP) -> DATE_FORMAT « All PHP « IT news, forums, messages
Re: Query inconsistency (MySQL vs PHP) -> DATE_FORMAT

Posted by Toby A Inkster on 03/14/07 00:50

laverdir wrote:

> php query doesn't return formated date and time

You're not explicitly giving the formatted date column a name. Try
something like:

... DATE_FORMAT (spisi.vrijeme_stavljanja,
'%e. %c. %Y. %k:%i') AS blah FROM ...

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация