I believe just printing the dates will work like...
writeln(GetFileDate)
It won't tell you the type, obviously, but you'll see the values are too far apart to work in a comparison.
I have used the following lines to print values...
writeln('User last on ='+datestr(dateu2d(UserLastOn),1))
writeln('File date = '+datestr(dateu2d(GetFileDate(Entry.Bullfile)),1))
The filedate seems right, but the userlast on is 00/14/229, way too high!
I'm thinking there is dud data there. When I chnage the second line to
writeln('User '+username+' last on ='+datestr(dateu2d(UserLastOn),1))
I now get the right date, but the filedate is 10/04/14, way too old.
UserLastOn is read from the GetUser function. Does this need to be called in the script, or is the value fed to the script regardless?
For some reason, adding the printing of 'username' changes the dates! If I remove it, it goes back to its old behaviour.
... Error, no Keyboard - Press F1 to Continue.
--- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
* Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)