Changed dateTime to use optional arg if set but default to mapObj.dateTime