Under XeTeX, a derived timestamp (via |\year|, |\month|, |\day|, |\time|) with only minute precision.
Actually XeTeX provides \creationdate since TeX Live 2019, which is equivalent to \pdfcreationdate in pdfTeX.
Since \pdfcreationdate (or its equivalence) is one of the primitives required by l3kernel and l3kernel is bundled in the LaTeX2e format, \creationdate is always available in recent LaTeX2e.
Also the expl3 provides a cross-engine string variable \c_sys_timestamp_str which holds the full timestamp of current job. But it's relatively new (needs l3kernel 2023-08-29).
Thanks for the suggestions! I've switched to \creationdate, and left a note in the code documentation to use \c_sys_timestamp_str once it has been available for longer.
Code comment on line 1578 of
minted.dtx@1ac8e25e
saysActually XeTeX provides
\creationdate
since TeX Live 2019, which is equivalent to\pdfcreationdate
in pdfTeX.Since
\pdfcreationdate
(or its equivalence) is one of the primitives required by l3kernel and l3kernel is bundled in the LaTeX2e format,\creationdate
is always available in recent LaTeX2e.Also the expl3 provides a cross-engine string variable
\c_sys_timestamp_str
which holds the full timestamp of current job. But it's relatively new (needs l3kernel 2023-08-29).