Create a log and time automatically comes

Create a log
  1. Open Notepad
  2. On the very first line, type in ".LOG" (without quotes) then press Enter for a new line
  3. Now you can type in some text if you want, then save the file.
  4. Next time when you open the file, notice its contents. Notepad automatically adds a time/date log everytime you open the file.