Use Windows Notepad as your electronic diary


Who knew the humble Windows Notepad was capable of anything other than, well, taking text only notes.

If you’re searching for a simple application to write a diary or take daily notes, look no further than Notepad. So, what’s new you ask ?

Well, with this tip you can make notepad automatically add the current day and time to a document as soon as you open it and save you the headache of doing so yourself.

To accomplish this:

  1. Open Notepad (START->Run->notepad.exe)
  2. Type “.LOG” on the first line of the new document.
  3. Save the file and close Notepad.

Now when you open the same file again, you’ll see that Notepad would have added the current Date and time to the document automatically.


Write your entry for the day and close the file. Everytime you open the file, Notepad will add the current timestamp on a new line saving you the effort to do the same.

Programmer, blogger and a geek making a living shifting bits around the Internet. Sharninder is the owner of Geeky Ninja

Related Posts :

22 Responses

  1. Abhilash says:

    I use this for my daily To Do.

    Are there any more such keywords you can use to make notepad do other stuff?

  2. Sharninder says:

    Abhilash: I don’t know of any other keywords for notepad. Will try and search for more :-)

  3. GFYM says:

    Or press F5

  4. Trav says:

    You can also just press F5

  5. John says:

    F5 will also post the date

  6. True says:

    [quote]Are there any more such keywords you can use to make notepad do other stuff?[/quote]
    Try typing “Start” without the quotes on the first line of the documents and saving the file as Start.log

    This will give you a C:\ prompt whenever you double click on it. I find this very useful whenever the C:\ prompt has been disabled and you need one quick.

  7. joaqquin says:


  8. Phaoloo says:

    Weird but lovely thought of using Notepad :)

  9. blahblah says:

    aww, ain’t windows users cute

  10. Sravan says:

    Whoa! Great hack you found out man! Kudos!

  11. Patrick says:


    Curious, how did you figure this out? Just by chance, or were you looking?

    • littlearth says:

      Yes, I know this is an old post, but, to answer your question, if you just click on the Edit menu in notepad, you’ll see Time/Date F5 (at least on some versions of Windows/notepad). is an online notepad with auto-datetime functionality if you need that sort of thing.

  12. Sudhakar says:

    Wow nice!
    Even textpad is doing this…

  13. Ross Heflin says:

    heh… read about this back in the 90s in a tips & tricks section of some pc magazine….. PC World or PC Magazine :P. Nice to know its still found useful. Many notepad-clones also duplicate this behavior (metapad for certain)

Leave a Reply

© 2014 Geeky Ninja. All rights reserved.
Proudly designed by Theme Junkie.