How To Create A Log File And Add Time And Date In Notepad

Automatically insert a timestamp or Manually Insert Current Timestamp in notepad

How To Create A Log File And Add Time And Date In Notepad

Notepad is a very simple and easy to use text editor in Microsoft Windows. It is generally used to create simple text file (files which have .txt extension). Well, did you know you can also use Notepad to keep a dated log or journal?

Automatically insert a timestamp every time a file is opened:

Open Notepad and type .LOG in all caps on the first line of the new text file.

Hit Enter to insert one carriage return.

Save your new log file. To do that, click File > Save As — or the key combo Ctrl+S. The next time you open the file again, the time and date are added to the end of the file.

Automatically insert a timestamp every time a file is opened:

Insert Current Timestamp

Inserting Time and Date every time you create a new entry in the log file may be very boring for you. If you are in any text document in Notepad and decide you need to add the current timestamp, just hit F5 or Click on “Edit” and then click on “Time/Date.

Insert Current Timestamp

That’s all.





Leave a Comment