Changing name attribute for date