Danny620 Posted July 26, 2009 Share Posted July 26, 2009 right what i am trying to do is when i go to phpmyadmin and click on insert and where the time and date filed is it has a calender where you can chosen the date and time to insert the formot is outputted like so 2009-07-26 23:37:23 how can i make a sql quarry like this that can insert it in the same format Link to comment https://forums.phpfreaks.com/topic/167548-php-mysql-admin-help/ Share on other sites More sharing options...
ldougherty Posted July 26, 2009 Share Posted July 26, 2009 That is the standard format for the date type in mySQL. If you read through the following article you'll see how to write a date/time to mySQL. http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html Link to comment https://forums.phpfreaks.com/topic/167548-php-mysql-admin-help/#findComment-883509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.