1. Open Notepad and Type .LOG (in capital Letters and press enter
2. Save the program with any name and close it.
3. Open the file again. Now you can see current date and time, This will happen every time you reopen notepad