[Snippet] Simplified UK/US Date Conversion

One of my major annoyances in PHP & MySQL world is the different formats when working with dates.

US format: mm-dd-yy, UK format: dd-mm-yy and MySQL’s date,datetime, timestamp columns yy-mm-dd. How do you cope with them all? I’ve been working on a rich UI recently which includes the jQuery date picker, by default thats in US format. UK users expect a date in UK format. Continue reading “[Snippet] Simplified UK/US Date Conversion”