From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5772 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: time/date in metafun/metapost Date: Thu, 04 Oct 2001 18:03:18 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011004180217.0264e088@server-1> References: <01100122532300.00939@levana> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396342 4470 80.91.224.250 (23 Oct 2002 18:05:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:05:42 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Patrick Gundlach In-Reply-To: <01100122532300.00939@levana> Xref: main.gmane.org gmane.comp.tex.context:5772 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5772 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------