Jump to content

MySql date format from YYYY-MM-DD to DD-MM-YYYY


Recommended Posts

Hello everyone,


I am not sure if I am googling this wrong or what. I have several dates in a mysql database that I would like to display in a dynamically made page. Can someone help me or point me in the right direction. I am very unfamiliar with the MySql date function.


I would also like to calculate the days that have passed between two different dates.


Example would be:


11-27-2011 and 12-15-2011 = # of days

Link to comment
Share on other sites


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

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.