🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1602

Re: Updating a file date

#1602
From: John R. Levine
Date: Wed, 18 Jul 1990 23:32
13 lines
1153 bytes
In article <2m2gm1w162w@cybrspc> cybrspc!roy@cs.umn.edu (Roy M. Silvernail) writes:
>I have a project underway, for which I need to be able to update a
>file's date (ala Touch). I have RTFM, but can't seem to find a Turbo C
>function to do this. ...

In my copy of the FM, on page 317, it describes the setftime() call that
sets a file's time and date.  You can also find it in the index under
"Date, File."  Sheesh.

-- 
John R. Levine, Segue Software, POB 349, Cambridge MA 02238, +1 617 864 9650
johnl@esegue.segue.boston.ma.us, {ima|lotus|spdcc}!esegue!johnl
Marlon Brando and Doris Day were born on the same day.
Technical Details
Message-ID: <1990Jul18.233259.7699@esegue.segue.boston.ma.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!spdcc!esegue!johnl
References: <2m2gm1w162w@cybrspc> <1990Jul18.163106.23939@uwasa.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!spdcc!esegue!johnl
From: johnl@esegue.segue.boston.ma.us (John R. Levine)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Updating a file date
Message-ID: <1990Jul18.233259.7699@esegue.segue.boston.ma.us>
Date: 18 Jul 90 23:32:59 GMT
References: <2m2gm1w162w@cybrspc> <1990Jul18.163106.23939@uwasa.fi>
Reply-To: johnl@esegue.segue.boston.ma.us (John R. Levine)
Organization: Segue Software, Cambridge MA
Lines: 13