Added the format to datepicker and reversed 'paidon' field back to old formula.