change date attribute from String do Date