## 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.Document, author: string...revisions. | ### Remarks > **NOTE** > > Documents must not have...