First is to save the Excel File and other is to read the contents of the Excel File. If you just want to overwrite the text file then you can use the first constructor. The month of December is an exciting time for us since it is the holiday season. But it also comes in handy for gathering useful metadata about your Excel files! The DATEDIF formula takes two date cells and calculates the days between them.