add funcionality to define the date format