formatDate added