add help function formattedDate