Appending timestamps to the end of a document

From EditPlus Wiki
Jump to: navigation, search

A timestamp is automatically appended to the bottom of any file containing the text ".LOG" (without quotes) in the first four characters of the file.

The timestamp is added every time the file is opened.

The timestamp format is the following (followed by a new line):
HH.MM DD/MM/YYYY

Or, in the PHP date format:
H.i d/m/Y

Example:
23.03 18/06/2006


It also works in Microsoft Notepad.