Hi,
I have mastered the timestamp field type in MySQL which has made life a lot easier thanks to recommendations from member of this forum, many thanks for that.
I have been trying to format the date output to screen and I have been going round bend with it.
If I format the timestamp field in my SQL query like
SELECT *, DATE_FORMAT(f_date, '%Y/%m/%d') as date2
This works fine to a point, it will output, example: 2007-04-15, but I would like to to output like "15-04.2007" thats "day, month and year"
Can this be done using my SQL query, I have tried reversing the date format
SELECT *, DATE_FORMAT(f_date, '%d/%m/%Y) as date2
but the results are not as expected.
Can anyone please advise.