You are here: Re: MsSQL « PHP SQL « IT news, forums, messages
Re: MsSQL

Posted by mick white on 10/09/06 20:18

iulian.ilea@gmail.com wrote:

> Hi,
>
> I use MsSQL server. I created an application in PHP who uses a field
> type datetime. When I tested it local it worked fine, the datetime
> field has this format: mm/dd/yyyy. When I tested it on another server I
> remarked that the same field datetime has format dd/mm/yyyy. How can I
> change it to mm/dd/yyyy.
>
I'd recommend you store the date as yyyy-mm-dd, which is unambiguous.
Mick

 

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

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