Heya all, first of all I apologise for asking this question about dates. I have searched on the subject - but for whatever reason cannot get my head around the date formatting done in PHP/MySQL.
I'm hoping someone will take pity on me and answer
If I have a date in MySQL table, it's formatted as YYYY-MM-DD ...
I would like to:
Extract from the DB and display the date in my PHP page as DD/MM/YY
Add a date in the format DD/MM/YY so that it succesfully inserts into the DB. (I would use a textbox to insert the date - is that the best way??)
Show a list of upcoming events, ordered by how far away they are from the current date (ignoring dates that have passed). So I guess I'm asking for some sort of DateDiff function....
Please help me guys, I haven't got long left!
Cheers, LeeBoy
:evilgrin: