How to format API date/time format on page

sadly…none of that is clicking with me… idk what to put here…