The ajax function was pulling from the wrong table so it was not returning the correct time.  Also had to add an esc_html() function.