Reply to Re: Setting date format through PHP?

Your name:

Reply:


Posted by Rik on 10/14/32 11:52

Roland Zitzke wrote:
> Hi,
> is it possible to teach MySQL to accept and output dates in format:
> DD.MM.YYYY
> rather than
> YYYY-MM-DD?
> I read somewhere that this can be configured in some system global
> files. What I am looking for is a method to set this in (and for) a
> particular PHP page. The rational behind it is that I would like to
> keep my code portable and not dependent on special global settings.
>
> Any idea?
> Thanks in advance
> /Roland

If you want to be independant of format, I'd use (unix-)timestamps, and
format the dates later to suit my needs.

Grtx,
--
Rik Wasmus

[Back to original 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

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