Article View: news.software.readers
Article #64747Re: [slrn] scoring feature idea
From: John E. Davis
Date: Tue, 22 Aug 2000 00:00
Date: Tue, 22 Aug 2000 00:00
18 lines
1236 bytes
1236 bytes
On 19 Aug 2000 08:22:30 GMT, Christian Perrier <bubulle@mykerinos.kheops.frmug.org>
wrote:
>This only works on a Unix system with GNU 'date' installed (it is
>maybe OK with Cygnus port of GNU date on NT with some
This can be achieved directly in slang without the need to call an
external program, e.g.,
tm = localtime (_time () + 30 * (24 * 3600));
vmessage ("%02d-%02d-%d", tm.tm_mday, 1+tm.tm_mon, 1900 + tm.tm_year);
is equivalent to calling GNU date via:
date --date="+30 days" "+%d-%m-%Y"
--John
Technical Details
Message-ID:
<slrn8q576c.n79.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn8pr44j.jck.kaz@ashi.FootPrints.net> <8nlg46$h2$2@mykerinos>Show Full Headers
Complete Article Headers
Message-ID: <slrn8q576c.n79.davis@aluche.mit.edu> Subject: Re: [slrn] scoring feature idea Date: Tue, 22 Aug 2000 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn8pr44j.jck.kaz@ashi.FootPrints.net> <8nlg46$h2$2@mykerinos> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 661167424 X-Trace: dreaderd 966958286 9429 18.75.2.45 Organization: Center for Space Research User-Agent: slrn/0.9.6.3 (Linux) Reply-To: davis@space.mit.edu Newsgroups: news.software.readers