GeekPolice Tech TutorialsLog in

 

How to Insert Time and Date into Text File

Share

20181204
How to Insert Time and Date into Text File

How to Insert Time and Date into Text File

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.



If you are in any text document in Notepad and decide you need to add the current timestamp, just hit F5 key. The timestamp will automatically be created.


Did you find this tutorial helpful? Don’t forget to share your views with us.
remove_circleSimilar topics

Comments

No Comment.
Permissions in this forum:
You cannot reply to topics in this forum