Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
irfanshirur
Starting Member
21 Posts |
Posted - 2009-10-07 : 04:06:26
|
| Hello Iam New to MY SQL :)I am facing one problem while inserting the Date time Value in MYSQL table Column (Column is of DateTime Type).if i try to insert the Date of this format '10-07-2009 00:00:000' in MySQL it is inserting the default value.MySQL take only the 'yyyy-mm-dd' Format.Please can any one tell me how can we convert the Date into this perticuler format.ThanksRegardsMohammed Irfan |
|
|
senthil_nagore
Master Smack Fu Yak Hacker
1007 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-10-07 : 06:05:34
|
quote: Originally posted by irfanshirur Hello Iam New to MY SQL :)I am facing one problem while inserting the Date time Value in MYSQL table Column (Column is of DateTime Type).if i try to insert the Date of this format '10-07-2009 00:00:000' in MySQL it is inserting the default value.MySQL take only the 'yyyy-mm-dd' Format.Please can any one tell me how can we convert the Date into this perticuler format.ThanksRegardsMohammed Irfan
Dont worry about how dates are stored in the table. When you want to show data in the front end application, do formation thereMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|