List:MySQL on Win32« Previous MessageNext Message »
From:Tonu Samuel Date:October 26 1999 4:50am
Subject:Re: Changing MYSQL Date Format.
View as plain text  
William Kerber wrote:
 
> Whenever I insert a date into a field by calling now().  It puts it in the
> Form yyyy-mm-dd .  Is there any way I can get it to store in the format
> dd-mm-yyyy ?

No, it puts it into some four bytes, not in plain text format. The
output of it looks like as you described.


Any format can be used. For other things look into manual:
http://mysql.mirror.ok.ee/Manual_chapter/manual_Reference.html#Date_and_time_functions

You anyway need it.


-- 
+----------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                           |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Tõnu Samuel           |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     tonu@stripped        |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Tallinn, Estonia      |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                       |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                      |
|             /*/             \*\                Developers Team |
+----------------------------------------------------------------+
Thread
mySQL on Win2000Alain Fontaine25 Oct
  • RE: mySQL on Win2000Brian Andrews25 Oct
    • RE: mySQL on Win2000Michael Widenius13 Nov
  • Changing MYSQL Date Format.William Kerber26 Oct
    • Re: Changing MYSQL Date Format.Bob Kline26 Oct
    • Re: Changing MYSQL Date Format.Sinisa Milivojevic26 Oct
  • Storing Binary ContentWilliam Kerber26 Oct
    • Re: Storing Binary ContentBob Kline26 Oct
  • Re: Changing MYSQL Date Format.Tonu Samuel26 Oct
  • Re: Storing Binary ContentTonu Samuel26 Oct
    • Re: Storing Binary ContentTim Endres26 Oct
      • Re: Storing Binary ContentTonu Samuel26 Oct
        • Re: Storing Binary ContentTim Endres26 Oct