Reply to To Get a Date into MySql: there must be a better way.
Posted by hugh webster on 03/11/06 20:49
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/