added sqlDateToString to utils and added a date to string format for datefield