added: convertToDate to index.html.template