[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql
Subject:    Re: Date problem
From:       <sinisa () mysql ! com>
Date:       2000-02-02 11:41:46
[Download RAW message or body]

Kole Dunn writes:
 > Hi all,
 > I have a date column that displays 2001-00-21 instead of 2000-2-1. 
 > Yesterday, it showed the year as 2010. Anyone know what's going on?
 > The date is correct on my machine. Here is the results of SHOW FIELDS...
 > 
 > +---------+--------------+------+-----+---------+----------------+
 > | Field   | Type         | Null | Key | Default | Extra          |
 > +---------+--------------+------+-----+---------+----------------+
 > | qty     | varchar(15)  | YES  |     | NULL    |                |
 > | sku     | varchar(20)  | YES  |     | NULL    |                |
 > | product | varchar(50)  | YES  |     | NULL    |                |
 > | price   | decimal(9,2) | YES  |     | NULL    |                |
 > | sub     | decimal(9,2) | YES  |     | NULL    |                |
 > | date    | date         | YES  |     | NULL    |                |
 > | uid     | varchar(15)  | YES  |     | NULL    |                |
 > | id      | int(11)      |      | PRI | 0       | auto_increment |
 > +---------+--------------+------+-----+---------+----------------+
 > 
 > 
 > KD

HI!

What program did you use that displayed data diffrently ??

Please use mysql monitor program and see what results do you get.

We have not been reported problems that date field changed out of
itself. 

May be some of your programs did the update. You could check it out if 
you had a timestamp column in that table, or if you had update log
turned on. 

Regards,

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@tcx.se            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@mysql.com     |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+

-- 
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail mysql-thread26250@lists.mysql.com

To unsubscribe, send a message to:
    <mysql-unsubscribe-mysql=progressive-comp.com@lists.mysql.com>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic