I wasn't sure where to post this but I have the following query:
ResultSet rs = DB.exQuery("SELECT max(transaction_date) as 'date', transaction_value, transaction_type FROM transaction_log WHERE user_id = " + user.getId());
I am using TIMESTAMP as the default method of saving the date/time to the DB. I want to custom format the date but don't know how to. I tried DATE_FORMAT but since am already using MAX I don't know how I can implement to two.