Features of LOG and Time/Date Command in Notepad

Article translations Article translations
Article ID: 81067 - View products that this article applies to.
This article was previously published under Q81067
Expand all | Collapse all


If you type .LOG in capital letters as the first line in a Notepad file, Notepad should automatically add the current time and date to the end of the file every time you open it. However, only the date appears under Microsoft Windows version 3.0.


Microsoft has confirmed this to be a problem in Windows version 3.0. This problem was corrected and does not occur in later versions of Windows.


There is a known problem with the Time/Date feature in Notepad. If you use the Time/Date command in Notepad for Microsoft Windows version 3.0, only the date appears. Also, if you use .LOG function in Notepad, only the date appears.

This problem does not occur in later versions of Windows.


Article ID: 81067 - Last Review: July 19, 2005 - Revision: 2.2
  • Microsoft Windows 2.03 Standard Edition
  • Microsoft Windows 2.1 Standard Edition
  • Microsoft Windows 2.11 Standard Edition
  • Microsoft Windows 3.0 Standard Edition
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com