Insert Time and Date into Text File

FreeBooter

Member
Joined
Dec 3, 2015
Posts
547
Location
Turkey
You can easily insert the current time and date into Notepad manually. There is also an automatic option that inserts the time and date automatically when you open the file:


1. Open Notepad.

2. On the first line of the file, type this:

Code:
.LOG

3. Hit ENTER to insert one carriage return.

4. Save the file.

By doing this, every time you open the file in Notepad, a timestamp will be inserted.

zh7MnTA.png


If you need to add the current timestamp, just hit F5 key. The timestamp will automatically be created.
 
A note for everyone else, when you use this in an existing txt file, the timestamp is put at the bottom of the file.
Wish it was at the top.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top