๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #149686

Re: [Dialog] Date and Time

#149686
From: MLC
Date: Thu, 10 Jun 2004 14:37
36 lines
2650 bytes
giovedรฌ 10/giu/2004 _/betty/_ ha scritto:

> On Thu, 10 Jun 2004 09:29:44 +0200, MLC used 37 lines in response:
> 
>> 
>>|| 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  
>                  ^^^^^^^^^^
> 
> Q1: Will your hardcoding that as a constant over-ride, or if not
> conflict with, the users system set regional Shortdate that Dialog
> appears to inherit and use defacto for its display?

If I understand the question, it's a costant override.
My system, for example, is set with this kind of date format:
dd/mm/yyyy
but in the script I have this format:
dd.mm.yy  (note also the . instead of / )
and Dialog displays the date this way.

> 
> Q2: I assume that available date formats are only those consistent with
> native Windows version regionals, or, can you roll your own in D
> scripts?

You can roll them as you like. In this Dialog help page
dialog.chm::/date_timeformatstrings.htm
there are many options you can pick up.

-- 
Maria Luisa C - 10/06/2004 16.25.02, here.
Technical Details
Message-ID: <xy0svq54sy2o.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!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
References: <t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net> <198riihzxidak.dlg@ID-187316.user.uni-berlin.de> <botb2j0pkfth.1acz30rhbb4t2.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <xy0svq54sy2o.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Date and Time
Date: Thu, 10 Jun 2004 16:37:41 +0200
From: MLC <maluc52@yahoo.it>
References: <t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net> <198riihzxidak.dlg@ID-187316.user.uni-berlin.de> <botb2j0pkfth.1acz30rhbb4t2.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!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 36
Reply-To: mlcald@msn.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de qQbdsSO5CsFWiWRIW7IXnA/r9PCMw78i1q+/4BgWdMiBVo6tjK
User-Agent: 40tude_Dialog/2.0.12.1it (48e65dd5.55.480)
X-face: &I8H|\w1'yKZ};
 `h{<&nL:q=2]K~[37\/q=}(!=6=W5dgeTbON.!Du+FZw\(G(*:'".'I.q
 ho"-qCCA7A7iUkJ.*bT?Bu$2ItIc/qhP2z?4s'SFp1t1@x`dK(6M_A;
 YB}?4?qYUd45s/w%>Aq.#`[
 Qj0@%<jlY`^AkchD:chF@c#h,*DGVS:ZL&4<td3<r:t_1wRfZ)S]HBru3C+1vJtGgM+&e~@WW^\aER
 pN!$S7_oLCc_`a7t0<o)D\=vrRxEz/M