Corrected date value in task form to use variable