You are here: Re: PHP -Date « PHP Programming Language « IT news, forums, messages
Re: PHP -Date

Posted by Toby A Inkster on 01/18/08 13:15

sri wrote:

> Can we get the date time in the format depends on either country
> code or country name in php.

Whose country code? The server? Or the visitor? If the visitor, how do you
expect to determine the country they are in?

More to the point, why would you want to? For example, if the whole page
was written in English, why would a French visitor expect to see the date
alone written in his native language as "samedi 18.janvier 2008"?

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 19 days, 24 min.]

Ham vs Bacon vs Pork
http://tobyinkster.co.uk/blog/2008/01/17/pork-etc/

 

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

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