time-stamp-patternvariable
Convenience variable setting all ‘time-stamp’ location and format values. If you must change them for
some application, do so only in the local variables section of the time-stamped file itself.
This string has four parts, each of which is optional:
time-stamp-line-limitnumber followed by slash ‘8/’
time-stamp-startregexp identifying the pattern preceding the time stamp
time-stamp-formatspecifies the format of the time stamp inserted
time-stamp-endregexp identifying the pattern following the time stamp
time-stamp-formatvariable
Format of the string inserted by M-x time-stamp. This is a string, used verbatim except for character sequences beginning with %.
4-digit year
month number
day of month
24-hour clock hour
minutes
format-time-stringbuilt-in function
(format-time-string FORMAT-STRING &optional TIME ZONE)
Use FORMAT-STRING to format the time TIME, or now if omitted or nil. TIME is specified as (HIGH LOW USEC PSEC), as returned by ‘current-time’ or ‘file-attributes’. It can also be a single integer number of seconds since the epoch. The obsolete form (HIGH . LOW) is also still accepted.