From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37580 Path: news.gmane.org!not-for-mail From: Bart Wise Newsgroups: gmane.comp.tex.context Subject: Datenumber Date: Tue, 27 Nov 2007 09:49:07 -0700 Message-ID: <200711270949.07518.bntgcontext@wiseguysweb.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196182200 18380 80.91.229.12 (27 Nov 2007 16:50:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 16:50:00 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 27 17:50:03 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Ix3dG-0003a4-2o for gctc-ntg-context-518@m.gmane.org; Tue, 27 Nov 2007 17:49:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DFB541FE19; Tue, 27 Nov 2007 17:49:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19961-01-4; Tue, 27 Nov 2007 17:49:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BDC81FE15; Tue, 27 Nov 2007 17:49:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E290E1FDE1 for ; Tue, 27 Nov 2007 17:49:15 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19961-01-3 for ; Tue, 27 Nov 2007 17:49:11 +0100 (CET) Original-Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by ronja.ntg.nl (Postfix) with ESMTP id 1229B1FE15 for ; Tue, 27 Nov 2007 17:49:10 +0100 (CET) Original-Received: from [166.70.13.201] (helo=mgr1.xmission.com) by out02.mta.xmission.com with esmtp (Exim 4.62) (envelope-from ) id 1Ix3cU-0001oR-8h for ntg-context@ntg.nl; Tue, 27 Nov 2007 09:49:10 -0700 Original-Received: from bwise1.provo.novell.com ([137.65.58.101] helo=bwise1) by mgr1.xmission.com with esmtpa (Exim 4.50) id 1Ix3cT-0001An-43 for ntg-context@ntg.nl; Tue, 27 Nov 2007 09:49:09 -0700 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Content-Disposition: inline Received-SPF: none (mgr1.xmission.com: 137.65.58.101 is neither permitted nor denied by domain of wiseguysweb.com) client-ip=137.65.58.101; envelope-from=bntgcontext@wiseguysweb.com; helo=bwise1; X-SA-Exim-Connect-IP: 137.65.58.101 X-SA-Exim-Mail-From: bntgcontext@wiseguysweb.com X-Spam-DCC: XMission; sa03 1397; Body=1 Fuz1=1 Fuz2=1 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on mgr1.xmission.com) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37580 Archived-At: LaTeX has a package called datenumber. It basically allows you to several things: 1) convert a date into a number, 2) add and subtract from that number, in essence adding and subtracting days, and 3) converting a date number into a date string. I use this package to create a yearly lesson schedule and various other similiar things. However, I have spent a considerable amount of time trying to find the same functionality in ConTeXt with no avail. Is there a solution for this? ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________