Notepad Showing Current Time and Date Easter Egg (Function)
Notepad, the basic text editor that comes with almost every versions of Windows operating system, has a hidden easter egg or function that able to display current time and date automatically on opening of the text document. The trick works on most Windows operating system with Notepad such as Windows XP and Windows Vista, and is useful to show what is the current time on opening of document with Notepad.
To perform the easter egg trick, do the following:
- Run Notepad.
- Type .LOG in the editor (all letters in capital).
- Save the file with any filename.
- Exit Notepad.
- Double click on the saved file or launch a blank Notepad and use File menu to open up the saved file again.
- Voila, the date and time of opening the text document appear right below the “.LOG” line.

There is also another Notepad easter egg.
Related Articles
- Windows XP Easter Egg Hidden Secret Trick
- Replace Notepad with Another Text Editor (eg. Notepad2 and Notepad++) in Vista
- Google Reader Easter Egg
- Missing File and Folder Names in Windows Vista Explorer Large Icon and Details View Easter Egg (or Bug?)
- Glass Notepad – Aero Theme Notepad for Windows Vista and Windows 7
- Use Notepad++ As HEX Editor with Plugin Download (Free WinHEX Alternative)
- Firefox 3 Easter Eggs
- How to Change IE Default View Source Editor from Notepad to Other Text Editors
- Tips of How to Hide Data in Notepad
- Windows Vista Screen Saver on Desktop Easter Egg










































July 7th, 2009 00:08
[...] Note that all functions that use Windows time format will be affected, including when pressing F5 to display current time in Notepad or use .LOG function to show current time in Notepad. [...]
June 4th, 2008 19:00
This is a feature, if you put .LOG at the beginning of your document then every time you edit the document it’s puts a date stamp at the end so you can see exactly when you edited it hence Log
June 4th, 2008 00:21
[...] eggs’ (if you claim it’s an easter egg, as it may be a function or bug anyway) are time and date function in Notepad and hidden switch for screen savers. Another easter egg (or probably is actually a bug) is to hide [...]