This is a python-based plugin for inserting custom time/date on Notepad++ documents.
-
Install the "Python Script" plugin. If you use the Notepad++ Plugin Manager, check where the PythonScript folder has been created (e.g., under %AppData% or %ProgramFiles%) If you prefer, install the PythonScript plugin manually. To do so, you can download the PythonScript plugin from http://npppythonscript.sourceforge.net/download.shtml.
-
Save the script to the PythonScript\Scripts folder. In my case it was:
"%ProgramFiles%\Notepad++\plugins\PythonScript\scripts\timestamp.py"
-
Navigate to Menu bar > Plugins > Python Script > Configuration. Select "Machine Scripts", pick the "timestamp.py" script, then click "Add" and "OK".
Note: depending on where you copied your script to, the script might be shown under "User Scripts"
-
Assign a hot key (shortcut) by going to Menu bar > Settings > Shortcut Mapper > Plugin Commands > Timestamp, then click "Modify"
Source: