By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,960 Members | 987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,960 IT Pros & Developers. It's quick & easy.

in date format how do i write my d.o.b. as dd/mm/yyyy

P: 1
my d.o.b is required in dd,mm,yyyy i wrote 02.07.1956 but keeps coming back as invalid date format please correct ,It is for digital trends panel
Feb 6 '13 #1
Share this Question
Share on Google+
1 Reply

P: 126
MySQL's default DATE field format is YYYY-MM-DD. The supported range is 1000-01-01 to 9999-12-31.

So you have to insert like;
Expand|Select|Wrap|Line Numbers
  1. Insert into table_name values('2013-02-06');
Feb 6 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.