Subj : FGET_TIME
To   : DIGITAL MAN
From : Ace
Date : Fri Feb 15 2002 12:54 pm

DM> > I'm trying to put a files time-date stamp into a str to compare
later
 > > on.  Instead of getting, for example a file created today, todays
 > > date-time on the file, I'm getting  Thu Jan 01 1970 12:00 am  ???
 > >
 > >
 > > str newsdate
 > > int newsfile time
 > >
 > >
 > > FOPEN newsfile O_RDONLY "e:\sbbs\xtrn\news.txt"
 > >   FGET_TIME newsfile time
 > >   TIME_STR newsdate time
 > > FCLOSE newsfile

DM>FGET_TIME is not implemented in Synchronet v3 (I don't remember the reason).
 >Use the GET_FILE_TIME function instead, which is much simplier and doesn't
 >require opening and closing the file.

I can't get this...!  (DAMN!)  The above makes sense to me but
GET_FILE_TIME <int_var> <str_var>  doesn't, and seems opposite of what I
need.  How do I get "e:\sbbs\xtrn\news.txt" into <str_var> to use in
this function, and then that date/time into my newsdate string?

---
� QMPro 1.53 � telnet://dsbbs.net  -  http://www.dsbbs.net
� Synchronet � Data Stream - telnet://dsbbs.net - www.dsbbs.net