Re: Converting english date formats to french....
| From: | Fred | Date: | Mon, 17 Dec 2001 22:53:28 +0000 |
| Subject: | Re: Converting english date formats to french.... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15075@lists.php.net to get a copy of this message | ||
You can use PHP to format the date:
http://php.he.net/manual/en/function.date.php
or use MySQL:
http://www.mysql.com/doc/D/a/Date_and_time_functions.html
see DATE_FORMAT()
Fred
Vincent Beaulieu <vbeaulie@uottawa.ca> wrote in message
news:004001c18741$ffba54b0$1b737a89@universiqhgcnn...
> Hi All,
>
> Does anyone have a quick and easy trick to convert dates from a MySQL
> database from English to French? I have a Calendar that uses PHP and
> MySQL....works wonderfully in English...having trouble converting the
> dates to a French format though.
>
> Are there built-in MySQL or PHP functions that would allow easy
> conversion of the dates to French for on-screen viewing??? I don't care
> about the database content at all, only about the content displayed on
> the screen during calendar viewing. I have looked all over and the only
> solution seems to be to re-write a lot of my code to incorporate the
> French formats. I'm hoping to not have to do much to implement the
> French side of this project....if possible! Is this possible?
>
> Any help or ideas would be greatly appreciated!!!
>
> Vincent
>