Subj : Re: Comparing UserLastOn with modification date of file (MPL) To : boraxman From : seeLive Date : Thu Feb 17 2022 12:15 pm On 18 Feb 2022, boraxman said the following... bo> I have used the following lines to print values... bo> bo> writeln('User last on ='+datestr(dateu2d(UserLastOn),1)) bo> writeln('File date = '+datestr(dateu2d(GetFileDate(Entry.Bullfile)),1)) bo> bo> The filedate seems right, but the userlast on is 00/14/229, way too high! bo> bo> I'm thinking there is dud data there. When I chnage the second line to bo> bo> writeln('User '+username+' last on ='+datestr(dateu2d(UserLastOn),1)) bo> bo> I now get the right date, but the filedate is 10/04/14, way too old. bo> bo> UserLastOn is read from the GetUser function. Does this need to be bo> called in the script, or is the value fed to the script regardless? In the examples I've seen, you need to call 'GetThisUser' to populate the vars in the script. bo> For some reason, adding the printing of 'username' changes the dates! bo> If I remove it, it goes back to its old behaviour. Perhaps, it's the datestr that's further confusing things... I was comparing the raw numbers as well... If you like, I can send you a copy of mine that's working... (,``,"> rusty sez... Re-livin' the dream... --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32) * Origin: seeLive's rustyHedgehog - therhh.dynv6.net:2300 (21:2/128) .