formatting the date we got back from server as well