rework format function to leverage date/time picker and pick correct property off of returned date object