Many thanks - it was \currenttime that I hadn't located (on an obviously inefficient search).  That works nicely.

Best wishes

John  🇪🇺  Слава Україні! 🇺🇦


Virus-free.www.avg.com

On Fri, 20 Jun 2025 at 12:14, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
Am 20.06.2025 um 12:37 schrieb John Was:
> I have figured out how to place a date stamp on my PDFs (outside of the
> printable area bounded by crop marks) but I would ideally like to
> include the time of processing as well.  I don't see anything like the
> plain TeX primitive \time (and when out of curiosity I tried '\the\time'
> this returned a mysterious number - today it is '691' - which doesn't
> seem relevant).

Use \currenttime, the following example shows also how to use the result
of the \time command.

\starttext

Current time: \currenttime

\blank

At the moment
\the\numexpr\time/60\relax\space
hours and
\the\numexpr\time;60\relax\space
minutes have passed since midnight.

\blank

At the moment
\the\time\space
minutes have passed since midnight.

\blank

\calculatecurrenttime % set values for the time commands

At the moment
\currenthour\space
hours,
\currentminute\space
minutes and
\currentsecond\space
seconds have passed since midnight.

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________