From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Luis O. Silva" Newsgroups: gmane.emacs.help Subject: Re: a function for string splitting Date: Tue, 26 Nov 2002 23:25:12 +0300 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <15843.55464.529828.63179@localhost.localdomain> References: <86u1i4pbnv.fsf@bigwalter.net> Reply-To: "Luis O. Silva" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038341171 17750 80.91.224.249 (26 Nov 2002 20:06:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2002 20:06:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Gly9-0004bi-00 for ; Tue, 26 Nov 2002 21:06:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Gm07-0007gv-00; Tue, 26 Nov 2002 15:08:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Glxw-0006mz-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 15:05:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Glxu-0006ml-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 15:05:51 -0500 Original-Received: from relay.wplus.net ([195.131.52.142]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Glxt-0006mh-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 15:05:49 -0500 X-Real-To: Original-Received: from emaile.wplus.net (emaile.wplus.net [195.131.52.155]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id XAA99853 for ; Tue, 26 Nov 2002 23:05:48 +0300 (MSK) Original-Received: by emaile.wplus.net with scanned-ok (WebPlus antispam mailer ) id 18Glxs-00053n-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 23:05:48 +0300 Original-Received: from [195.131.108.183] (helo=localhost.localdomain) by emaile.wplus.net with esmtp (WebPlus antispam mailer ) id 18Glxq-00051J-00; Tue, 26 Nov 2002 23:05:47 +0300 Original-To: daniel@bigwalter.net (Daniel Jensen) Original-Newsgroups: gnu.emacs.help In-Reply-To: <86u1i4pbnv.fsf@bigwalter.net> X-Mailer: VM 6.97 under Emacs 21.1.1 X-Virus-Scanned: by AVP (http://www.avp.ru/) X-IP: 195.131.108.183 X-From: silva@paloma.spbu.ru Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4063 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4063 Dear Daniel, On Tue, 26 Nov 2002 16:56:36 +0100, Daniel Jensen writes: Daniel> "Luis O. Silva" writes: >> I'm writing a function for translating dates in the form >> of a string into Spanish and Russian. For example, you >> have: >> "Thu, 21 Nov 2002 16:05:50 -0600 (CST)" Daniel> You might want to use format-time-string Daniel> instead. To get the above date form but with Daniel> localized month and day names, you would use: Daniel> (format-time-string "%a, %e %b %Y %H:%M:%S %z Daniel> (%Z)") Thank you for your suggestion, the problem here is that my starting point is a string. Lee suggested what I needed. Thank you. luis -- Luis Octavio Silva P. St. Petersburg State University. 66/3 Botanicheskaya St., Apt.119/2 Stary Peterhof St. Petersburg, Russia.