modify date componet