Subj : Re: UserLastOn a little wonky? To : seeLive From : opicron Date : Sun Jan 09 2022 06:43 pm se> TA> Interestingly, UserLastOn returned 1641738317 (09/01/2022, 14:25:17), se> TA> this does indeed appear to be an issue with 'DateSTR' rather than the se> TA> timestamp returned by 'GetUser/GetThisUser'. How does DateSTR get the date from this timestamp? This timestamp is not a regular timestamp as far as I know. In Python I use the following to get dates from timestamps like lastscan date (filebase) and filedate (filebase). sec = ((timestamp>>0) & 0x1f)*2; # 0..60, only even values min = (timestamp>>5) & 0x3f; # 0..59 hour = (timestamp>>11) & 0x1f; #0..23 day = (timestamp>>16) & 0x1f; # 1..31 month = (timestamp>>21) & 0xf; # 1..12 year = ((timestamp>>25) & 0x7f) + 1980; oP! --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64) * Origin: TheForze - bbs.opicron.eu:23 (21:3/126) .