Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!bacchus!mwm From: mwm@pa.dec.com (Mike (My Watch Has Windows) Meyer) Newsgroups: comp.sys.amiga.programmer Subject: Re: Arexx file dates ? Message-ID: Date: 2 May 91 17:53:38 GMT References: <5695@mindlink.bc.ca> Sender: news@pa.dec.com (News) Organization: Missionaria Phonibalonica Lines: 18 In-Reply-To: Richard_Sullivan@mindlink.bc.ca's message of 30 Apr 91 22:29:11 GMT In article <5695@mindlink.bc.ca> Richard_Sullivan@mindlink.bc.ca (Richard Sullivan) writes: There is a much simpler way to get the date: say date('n',word(statef(file_name),5)) That's an excellent way to get the day a file was created. If you want something more accurate (i.e. - the time on that day), I'd use the parse version. Date/time are good tools for turning the numbers returned by statef into text strings suitable for printing. Of course, there are more interesting things to do with file dates than just print them....