add function add and format of Date object