My program fetches few columns from Access database and displays the data in `JTable`. It works fine but I need to make some changes while data display. Like, in spite of storing the data in the form of dd-MM-yyyy in Access databse, it displays in the form **yyyy-MM-dd tt:tt:tt** format while retrieving. I need to display in the form of **dd-MM-yyyy** in the table. This date field is represented in the 1st column of table as `for_date`. 

```
sql = "Select for_date as FOR_DATE,outage_time as OUTAGE_TIME,stat_detail as STATION_DETAILS from " + table_sel + " where for_date='" + date1 + "' and stat_detail ='" + combo_sel + "'";
Connection con = null;
Statement st = null;
ResultSet rs = null;
PreparedStatement pst = null;
String dbURL = "jdbc:ucanaccess://C:\\Users\\Dell_PC\\Documents\\SYSTEM_OUTAGE_REPORT.accdb";
con = DriverManager.getConnection(dbURL);
st = con.createStatement();
pst = con.prepareStatement(sql);
rs = pst.executeQuery();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
con.close(); 

```