Subj : FGET_TIME
To : Ace
From : Digital Man
Date : Fri Feb 15 2002 04:28 am
Re: FGET_TIME
By: Ace to ALL on Fri Feb 15 2002 11:54 am
> 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
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.
-Rob
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net