Accessed time a day ahead?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Accessed time a day ahead?

Post by klownboy »

I'm posting this in Questions since I hope it's not a bug and just my ignorance. I'm using SC timestamp in a script to set the accessed time for a text file such that I can determine later which was the last text file used or accessed. It was working fine for a long time, but for some reason it's a bit messed up today. My folder with the toolbar text files with their accessed date/time looks like this below.
date_accessed-a_day_ahead.JPG
How can I have an accessed date a day ahead of what it is today. Today is the 15 February and the accessed date shows the 16th. It's like it shifted a day. The script line is simply:

Code: Select all

   timestamp a, , "$DIR_TOOLBARS\$TBname.txt";
 //another example elsewhere in script...
   $toolmen = $toolmen . "  timestamp a, , ""$DIR_TOOLBARS\$item.txt"";<crlf><crlf>";
It's seems like the accessed time has shifted a day, but I'm not using shift parameter for SC timestamp unless it's picking it up somewhere or somehow. Any thoughts on why that might have happened? Thanks.

Edit: Very odd...now after using the script's menu to load the text files one-by-one (to change XY's toolbar) resulted in changing the access date/time to access back to the proper access date. So I'm not sure what occurred to make the above happen. :blackstorm:
To see the attached files, you need to log into the forum.
Last edited by klownboy on 15 Feb 2016 20:33, edited 2 times in total.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Accessd time a day ahead?

Post by bdeshi »

Do you have "Show Times in UTC" enabled? (::#454;)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Accessd time a day ahead?

Post by klownboy »

Hi Sammay I honestly don't know what the glitch was, but the script seems to to be working fine now (i.e., if I load a toolbar the access date/time is properly changed and the menu properly reflects the latest accessed). To answer your question though, no I've never had show times in UTC set. I'm testing a script prior to posting. To test, I was moving these toolbar text files out of their normal folder elsewhere to start with a clean folder (as a new user would have) so possibly the dates changed in doing that but I can't explain why. Thanks.

Post Reply