Changed the way date is supplied.