From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70357 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: timestamps with \date Date: Mon, 1 Aug 2011 17:25:51 +0200 Message-ID: <5A047769-E5A3-4DCF-B889-F6A37ECE968A@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312212386 32350 80.91.229.12 (1 Aug 2011 15:26:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 15:26:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 01 17:26:22 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QnuNp-0002EW-SS for gctc-ntg-context-518@m.gmane.org; Mon, 01 Aug 2011 17:26:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CCBCCCAEA1; Mon, 1 Aug 2011 17:26:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KNipXFj5EZ7F; Mon, 1 Aug 2011 17:26:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8895CAE56; Mon, 1 Aug 2011 17:26:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3D02CAE56 for ; Mon, 1 Aug 2011 17:26:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s2LqhgGwaw+e for ; Mon, 1 Aug 2011 17:26:06 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 0C285CAB80 for ; Mon, 1 Aug 2011 17:26:06 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p71FQ5wI011091 for ; Mon, 1 Aug 2011 17:26:05 +0200 Original-Received: by fxg9 with SMTP id 9so6546579fxg.14 for ; Mon, 01 Aug 2011 08:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=00oNi7Xg5NlNM6q7LFOaF+jhuzFhjGMfcWFdfLiz85E=; b=EkklvKs37R3SvFh7nWFnGlmL114927lRfKSFCIvM9cg8nwXp2FdfORSlrjOOpDJ3vZ vOz1bMBebKUu/HS1HGEFCwTfdLjd70UlgBBynYBeFwb9zv60eoZ0dh8vumXDIeEdhHL9 Yn8VcCsS6pRfdBG6+S13KktXq5VIa3I/555kM= Original-Received: by 10.223.161.74 with SMTP id q10mr6635209fax.117.1312212365286; Mon, 01 Aug 2011 08:26:05 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482CAA7.dip.t-dialin.net [84.130.202.167]) by mx.google.com with ESMTPS id o18sm235294fal.23.2011.08.01.08.26.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Aug 2011 08:26:03 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFf3q57B - 4ff7b848ad98 - 20110801 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70357 Archived-At: Am 01.08.2011 um 17:15 schrieb Mojca Miklavec: > Hello, > > I would like to add timestamps to the document. The command \date > seems handy for that, but it doesn't offer any hour/minute/second > keyword, or at least I wasn't able to find it in documentation. > > Is there some more convenient way to add current date and time to the document? \starttext \startlines \currenttime \currenttime[h] \currenttime[m] \currenttime[h,{\,:\,},m] \stoplines \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________