## compare(document, author, dateTime) {#document_string_date} Compares this document with another document producing changes as number of edit and format revisions [Revision](../../revision/). ```...... ```js compare(document: Aspose.Words...comparing/compareoptions/). ```js compare(document: Aspose.Words...