Pass date through template class.