From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Week number Date: Tue, 14 Oct 2008 08:25:28 +0200 Organization: GNU's Not UNIX! Message-ID: <200810140625.m9E6PS0u025500@zogzog.maillard.mobi> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223981813 29401 80.91.229.12 (14 Oct 2008 10:56:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 10:56:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 12:57:51 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kphat-0006yy-SC for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 12:57:40 +0200 Original-Received: from localhost ([127.0.0.1]:35665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KphZp-0002AY-FZ for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 06:56:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KphCU-0003sw-B7 for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 06:32:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KphCQ-0003rJ-Fg for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 06:32:24 -0400 Original-Received: from [199.232.76.173] (port=40153 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KphCQ-0003qK-25 for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 06:32:22 -0400 Original-Received: from master.uucpssh.org ([193.218.105.66]:42189) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KphCJ-00068M-5Q for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 06:32:17 -0400 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id CAB44F33E4; Tue, 14 Oct 2008 12:28:49 +0200 (CEST) Original-Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.2/8.13.8) with ESMTP id m9E6PU1s025504 for ; Tue, 14 Oct 2008 08:25:30 +0200 Original-Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.2/8.13.8/Submit) id m9E6PS0u025500; Tue, 14 Oct 2008 08:25:28 +0200 User-Agent: Rmail in GNU Emacs 23.0.60.12 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.4, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58753 Archived-At: Hi, I can't find anything in GNU Emacs (CVS). I need a function that would return a formated week number (merely "%yw%w") given a date (or the current week number if no date given as argument). Does anybody have this ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org