🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3935

Re: Help with date and Time

#3935
From: Joan Colley
Date: Thu, 23 Nov 1995 00:00
28 lines
2045 bytes
John Savage <koala@sydney.dialix.com.au> wrote:
>djr@mphd1.novell.ac.uk (Dominic Robinson) writes:
>>How do I read the creation time of a number of .txt files into another
>>file to the NEAREST SECOND.  /date only gives to the nearest minute??
>
>Get one of the Un*x-style list utilities from SimTel or Garbo. "ls" is
>analogous to the MSDOS "DIR" command, but ls -l gives time of creation
>to the nearest second. You'll probably find any of these should do ...
>
<snip>
>John Savage               koala@sydney.dialix.com.au


John, 

I think that may be the last modified time.  Is the create time held for 
DOS?  It certainly is NOT held for Unix!  In the stat(1) struct for unix 
the three dates held are 

mtime - last modification time (content of file)
atime - last access time (such things as backup)
ctime - last change time (things like name change, symbolic links etc)

I rather suspect DOS is less sophisticated than Unix.  If Dominic really 
wants the create time he is probably out of luck.


Joan.
Technical Details
Message-ID: <DIHvy2.KH2@online.tmx.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1995Nov13.134114.6481@leeds.ac.uk> <48uuk6$h28$1@sydney.DIALix.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d683,2303e8f8ee305490
X-Google-Attributes: gid10d683,public
X-Google-Thread: f53ba,2303e8f8ee305490
X-Google-Attributes: gidf53ba,public
X-Google-Thread: 1674b9,2303e8f8ee305490
X-Google-Attributes: gid1674b9,public
X-Google-Thread: 111d31,2303e8f8ee305490
X-Google-Attributes: gid111d31,public
X-Google-Thread: f71eb,53d0f41b00b4b338
X-Google-Attributes: gidf71eb,public
From: Joan Colley <joan_c@adc.com.au>
Subject: Re: Help with date and Time
Date: 1995/11/23
Message-ID: <DIHvy2.KH2@online.tmx.com.au>
X-Deja-AN: 119919542
sender: news@online.tmx.com.au (System Administrator)
references: <1995Nov13.134114.6481@leeds.ac.uk> <48uuk6$h28$1@sydney.DIALix.oz.au>
content-type: text/plain; charset=us-ascii
organization: ADC Consultants
mime-version: 1.0
newsgroups: comp.os.msdos.misc,comp.binaries.ibm.pc.wanted,comp.archives.msdos.d,comp.sys.ibm.pc.misc,aus.computers.ibm-pc
x-mailer: Mozilla 1.1N (Windows; I; 16bit)