Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MySQL Date format


ronan

Recommended Posts

Hey,

 

I'm new to MySQL and PHP and am having problems with the date format. I have a html form on my website and as MySQL only accepts the date in the format 0000-00-00 i am having to ask people to input the date in this format i.e. yyyy-mm-dd.

 

Then when this information is displayed on my site it is also in the format yyyy-mm-dd ( http://www.irishpokeronline.com/poker%20we...tournaments.php ). Does anyone know how i can modify my php script to display the date in dd-mm-yyyy and how to modify my html form to accept dates in this format also?

 

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...