added helper function to grab startdatetime post meta for queries