removed formatDate