Added in 1.9.0

$timestampfmt

Returns the event timestamp format as defined in Options -> Messages.

% is removed and 'i' is replaced with 'n' for $asctime compatibility.

; Format current time using the timestamp format
//echo -ag $asctime($ctime, $timestampfmt)