❤Date format phpmyadmin ❤ Click here: http://preadtabdiaprem.fastdownloadcloud.ru/dt?s=YToyOntzOjc6InJlZmVyZXIiO3M6MjE6Imh0dHA6Ly9iaXRiaW4uaXQyX2R0LyI7czozOiJrZXkiO3M6MjI6IkRhdGUgZm9ybWF0IHBocG15YWRtaW4iO30= And it still doesn't work. Because the now function gets the proper date and time but doesn't know how to display it any other way than the default. Can anyone tell me what I need to do to get the ActivateDate column in the database to be set to 2010-05-22 00:00:00 instead of 0000-00-00 00:00:00? I think you would be better off just eliminating the the time when inserting. Fortunately there are lots of good tutorials on the web for learning how to do this. But that is a different issue. The data was actually in the datetime format, but for every entry the time is 12:00:00AM. Attached please find a copy of the page where the dates are entered and of the results page where they are displayed. In an existing database, I've age column INT. There were a few areas where I had to manually add the dates since whomever entered the data wasn't consistent, but that took 5 minutes to fix. With its graphical user interface and set of built-in features, PHPMyAdmin makes the database management an con job. If I am right, good luck. Setting a date in MySQL using a PHP script Using a for setting a date in MySQL is very common. This is the results I get. Insert Date in MySQL - Can you display the correct method here? I will keep working on it and see what I can do. I have a table that the only way I could import the date was using a varchar field. The data was actually in the datetime format, but for every entry the time is 12:00:00AM. So I was trying to find an easy way to remove that from all of the entries in that column, but I have been playing around with a few basic sql command, but nothing has worked so far. The other issue that I found is that the date format is defaulting to yyyy-mm-dd, however the data is currently stored as mm-dd-yyyy. Read full post Well if it is stored in VAR Char format you should just be able to use Natural expressions on to remove the 12:00 a. I am not sure if anything is prewritten for you. You could probably even just write the SQL Query up to that string if written the correct way and it will pull the variable into a script up to that point that the time starts. Does that make sense? AdamRPL wrote: You can use the substring function to strip the time. SUBSTRING '2014-01-01 12:00:00AM' FROM 1 FOR 10 This will return '2014-01-01'. If I put in that date, or choose another date, is that only for formatting reasons, or will it change all dates to whatever date is used in the query? I just know very basic query commands, and do not want to make a mess of anything, even though I am using a test table to test all of this out. Ok now I'm getting confused. If I use your latest example, that will leave the date and pull out the time data? Does that just tell it what row to start and what row to stop? So i was playing around, but any number I used I either took off too many characters, or left too many character. So I know the 1 to 10 covers the majority, which I'd rather have, but now how do I fix the left overs without messing up the cells that are right? AdamRPL wrote: I made the assumption that all dates were 10 characters. The whole reason I am doing this, is because when my client tries to sort by this date either descending or ascending there are dates all mixed together. I assume that is because of the format being varchar and not in date format? But that is a different issue. I tried the link that AdamRPL gave me along with a couple of others I found out, which all acted like they worked, but when I browsed the table the query would erase the columns data. There were a few areas where I had to manually add the dates since whomever entered the data wasn't consistent, but that took 5 minutes to fix. Thank you for your help.