At 10:53 PM 10/1/2001 +0200, Patrick Gundlach wrote:
>Hi out there. It is getting late, but I hope my metapost problem is not
>there because I cannot think at this time anymore...
>
>So, I have the following code:
>% output=pdf
>\starttext
>\startMPcode
>show year;
>show month;
>show day;
>show time;
>\stopMPcode
>\stoptext
>
>The time displayed is the time of the generated format. How do I get the
>current time? (well, the time at which the job is run.) Do I have to use
>context to pass the current time etc. thru variables?
\startMPcode
mytime := \the\normaltime ;
myyear := \the\normalyear ;
....
enz
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------