You are here: Re: To Get a Date into MySql: there must be a better way. « PHP Programming Language « IT news, forums, messages
Re: To Get a Date into MySql: there must be a better way.

Posted by Tony Marston on 03/11/06 21:49

Take a look at http://www.tonymarston.net/php-mysql/dateclass.html

--
Tony Marston
http://www.tonymarston.net

"hugh webster" <hwebster@bluewin.ch> wrote in message
news:op.s59iljj9fdqzms@mercury...
> MySql seems to only accept dates as 'yyyy-mm-dd'. How do I do that when
> the user might input dd/mm/yy, or d.m.yyyy (I'm in Europe)? I know I can
> do sscanf, or explode to rebuild the date string - but there must be a
> better way. Is there a FAQ somwhere?
>
> tks.
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

 

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

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