made ApiUtil instantiate the date format once