Changed the legend tag to Date picker form