java.sql.Timestamp ts = rs.getTimestamp(1); java.util.GregorianCalendar cal = Calendar.getInstance(); cal.setTime(ts); System.out.println(cal.get(java.util.Calendar.DAY_OF_WEEK));