Add formatDate and test
Add agendaHTml fn