I have a date parameter, from where i have to pick up the day, month and year separately to access values from a table which has columns, month, year and d1…d31 respectively. how do i extract the day, month & year using java.util.Date package ?