The date/time is stored in a DATETIME field in MySQL (example: 2010-01-15 15:40:20). I would like it displayed as: 15/01/2010 15:40:20 . I know this can be done within the SQL query but this might overcomplicate my queries, therefore I need to do this within the code.
Ideally I just want to specify the formatting in one place and make a call to this function whenever I need to display a formatted date.
Page 1 of 1
Date/Time Formatting
Page 1 of 1

Sign In
Register
Help



MultiQuote