styling date field in edit window