Article View: news.software.readers
Article #149730Re: [Dialog] Date and Time
From: foxidrive
Date: Fri, 11 Jun 2004 03:07
Date: Fri, 11 Jun 2004 03:07
35 lines
2303 bytes
2303 bytes
On Thu, 10 Jun 2004 19:46:30 +0200, MLC wrote: >> On Thu, 10 Jun 2004 09:29:44 +0200, MLC wrote: >> >>> Yes, with a script in the OnArticleListPaint event. >>> (write your correct settings in the const section and remove the leading ||) > This *should* be correct (let me know please): Thanks Maria! It works splendidly. :) I left it below for others to copy. || program OnArticleListPaint; || const || colDate = 5; //count the columns from left to right starting || //from 0 and write here the number of the column Date || dateFmt = 'dd/mm/yyyy hh:mm'; //or yy (instead of yyyy) for a 2 digits year || function OnArticleListPaint(PaintString:widestring; ColumnIndex:integer):widestring; || || var fmt : String; || begin || if ColumnIndex = colDate then || begin || fmt := dateFmt; || PaintString := FormatDateTime(fmt, StrToDateTime(PaintString)); || result := PaintString; || end; || end; || begin || end.
Technical Details
Message-ID:
<7r2hkftu9kta$.zpdxhn0xqzvf.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net> <198riihzxidak.dlg@ID-187316.user.uni-berlin.de> <1o4a9m5tg0kln.1nm6b8i392mu5.dlg@40tude.net> <15303yda7jsqh.dlg@ID-187316.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <7r2hkftu9kta$.zpdxhn0xqzvf.dlg@40tude.net>
Subject: Re: [Dialog] Date and Time
Date: Fri, 11 Jun 2004 13:07:06 +1000
From: foxidrive <foxidrive@hotmail.com>
References: <t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net> <198riihzxidak.dlg@ID-187316.user.uni-berlin.de> <1o4a9m5tg0kln.1nm6b8i392mu5.dlg@40tude.net> <15303yda7jsqh.dlg@ID-187316.user.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 35
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de ynr3oCjl7hk818kGqxqpLweJ37AWKr0OYs7o2U5GyjJUXD+bWS
User-Agent: 40tude_Dialog/2.0.12.1 (1eb7ff62.435.92)
X-Face: ,C9+5-,tl2P/lP`;
cakJqFV\gH+G#W0'-Lv=V>t6AGNr]v#I0OP(s1vQKTHxfUbKjDTZ+ku x5\8h8)C{:;
Vsp5C{C'k<v!~ox#IOg*%^+