Appending timestamps to the end of a document

From EditPlus Wiki
Revision as of 19:27, 30 July 2007 by Arjendk (Talk | contribs) (Rollback to version of 2 November 2006)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.