Template accepts date as parameter.