I have already a table with three time fields. One to register the hour when the user start working, when stop working and the difference. Now I want to add the day of the week(Mon-Sun) and the date. How can I properly do that, saying that then I will want to grab the hours that the user worked in the past 7 days, lets say.I've read that timestamp give all the information but I don't know whether I can separate days from date?
**table name = date_timedate_time_id = auto incrementuser_id = vartime_in = timetime_out = timetime_dif = time**
ps: I am using java(servlets) and mysql.
Thanks guys