Page 1 of 1

Accessed time a day ahead?

Posted: 15 Feb 2016 19:27
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:

Re: Accessd time a day ahead?

Posted: 15 Feb 2016 19:44
by bdeshi
Do you have "Show Times in UTC" enabled? (::#454;)

Re: Accessd time a day ahead?

Posted: 15 Feb 2016 20:01
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.