using defined date format