DateModel, to use time in java with the timestamps from the database