RE: Varchar "date" to real date?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I think I need some help/ideas with this...
> > 
> > If I can get this done how can I still display the dates in 
> > european format 
> > at my web page? Do I have to break the date to pieces and some how 
> > re-arrange it to the DD.MM.YYYY format or is the some clever 
> > function for 
> > this that can automatically do this?

I neglected to answer the second part of your question.  Once you get the
dates into a proper mysql date column, you can use mysql's DATE_FORMAT
function to arrange it to any way you want.

http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux