add  a date componet