Discrepancy of precisely one hour in date and time stamps

Things you’d like to miss in the future...
admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

DST just like here, thanks.

It remains totally weird.

The time showing in your screenshot happens to be the UTC time of that file. This might be a conincidence though.

What time is shown if you tick "Tools | Customize List | Date Column Format | Show Times in UTC"?

geoffyates
Posts: 54
Joined: 15 Feb 2008 12:55

Re: Discrepancy of precisely one hour in date and time stamp

Post by geoffyates »

16.20.0200

https://dl.dropboxusercontent.com/s/lat ... 4.jpg?dl=0

All the times are followed by 'Z'.

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

OK, that's identical to the picture here.

When you open Help | Various Information, is the correct OS displayed? Or, easier, run this through the address bar:

Code: Select all

echo <get os>;

geoffyates
Posts: 54
Joined: 15 Feb 2008 12:55

Re: Discrepancy of precisely one hour in date and time stamp

Post by geoffyates »

Yes it is.

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

I give up. :|

geoffyates
Posts: 54
Joined: 15 Feb 2008 12:55

Re: Discrepancy of precisely one hour in date and time stamp

Post by geoffyates »

Don't give up yet!

I tried rolling back to the first version that has the breadcrumb bar; version 13.20.0000 and that does not have the problem. So it must be something changed fairly recently. Please see the screen grab showing both (no install) versions sharing the same screen but giving different results!

https://dl.dropboxusercontent.com/s/pf6 ... 8.jpg?dl=0

Oh BTW I notice that 13.20.0000 does not have the wide tabs option. Do you remember offhand which was the first version to have that?

Thanks for not giving up!

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

Found some info: It might be connected to your time zone:

https://msdn.microsoft.com/en-us/librar ... s.85).aspx
The SystemTimeToTzSpecificLocalTime function may calculate the local time incorrectly under the following conditions:

The time zone uses a different UTC offset for the old and new years.
The UTC time to be converted and the calculated local time are in different years.
Did the UTC offset of your time zone change in recent years?
(But why doesn't it show in Explorer? Probably uses other function...)


The wide tab function is very old, but was done via tweak in earlier versions:

Code: Select all

v8.20.0010 - 2009-08-17 15:39
    + Added tweak to layout the top bars as it was possible before Dual 
      Pane was introduced. Note that this layout is only applied in 
      Single Pane Mode. However, you can toggle panes while using the SP 
      layout, so can enjoy advantages of both worlds.
        [General]
        LayoutSP=0
      Possible values:
        0 = Same as Dual Pane (= tweak is OFF)
        1 = [Address Bar] [Toolbar & Tabs]
        2 = [Address Bar] [Tabs & Toolbar]
        3 = [Toolbar & Address Bar] [Tabs]
        4 = [Address Bar & Toolbar] [Tabs]


geoffyates
Posts: 54
Joined: 15 Feb 2008 12:55

Re: Discrepancy of precisely one hour in date and time stamp

Post by geoffyates »

I am not aware of the UTC offset of my time zone changing in recent years.

With reference to wide tabs...

In the screen grabbed example above in version 13.20 the tab and breadcrumb bar only extend left as far as the tree listing column. In version 16.20.0200 they extend left as far as the left margin of the window and that is how I would like it. The tweak you have supplied does not seem to change that.

Is there another tweak that would be more suitable, or which was the first version that supported the wide tabs option via the user interface?

Thanks

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

No, you really should upgrade to the latest version. You won't stay happy with 13.20 in the long run.

geoffyates
Posts: 54
Joined: 15 Feb 2008 12:55

Re: Discrepancy of precisely one hour in date and time stamp

Post by geoffyates »

Hi again

I think I have cracked it!

In version 14.80.0200 the date and time information is shown correctly. The next version up (in the freezer anyway) is version 15.00.0500 and it is in that version that the problem started.

The 'What’s new in this version?' for 15.00.0500 refers to this new feature:

Timestamping. Now you can easily clone and shift timestamps. (Pro Edition Only)
The timestamp scripting command has become insanely powerful. Here are some examples. You can paste the scripts (yellow background) right into the Address Bar and press Enter to run them:

and more...

It seems to me this is very likely why the problem started.

Attached is a full screen grab showing the comparison between the two versions:

https://dl.dropboxusercontent.com/s/8fr ... 4.jpg?dl=0

And 14.80.0200 supports wide tabs too!

Oh well there you have it!!

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

I think it is what Marco already assumed above:

Code: Select all

v14.80.0217 - 2015-01-28 14:42
    ! Filetimes: DST (daylight saving time) was not honored as expected.
      For example, the created time of a file that had been created at 18:00 in
      summer (when DST was in effect), was shown in winter (when DST was not in
      effect) as being created at 17:00. While 17:00 is the astronomically (more
      or less) correct time it is Windows standard (and also user-friendlier) to
      show the fake time that was valid in the moment the file was created (DST
      in effect).
      XYplorer now handles this just like Windows Explorer.
      XP and later only.
Which is your timezone?

geoffyates
Posts: 54
Joined: 15 Feb 2008 12:55

Re: Discrepancy of precisely one hour in date and time stamp

Post by geoffyates »

In general GMT (Greenwich Mean Time)

at the moment we are in DST (end March - end October)

this is called BST (British Summer Time)

and is GMT + 1.00 (one hour later)

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Discrepancy of precisely one hour in date and time stamp

Post by admin »

OK, I changed my timezone to Greenwich Mean Time, and indeed I now get the same date as you: 2016-02-02 23:01:00.

However, I get this date also in Explorer now. Why? Because it is the correct date (i.e. it is how it is supposed to be shown in your timezone)!

Why the confusion? Probably because this stupid smartness of Explorer: In a folder with photos, Explorer shows a column called "Datum" (Date) in German, and this is NOT the file's modified date, but the EXIF date of the photo! You have to manually show the Modified Date column if you want to see that date. And here you see it's indentical to XYplorer.
2016-08-20_143408.png
2016-08-20_143408.png (28.6 KiB) Viewed 1653 times
PS: This relationship did not show in my timezone because here all 4 dates (2 in XY, and 2 in WE) happened to be identical: 2016-02-03 00:01:00, so I had no chance to reproduce the differences you see in my timezone.

:beer:

Post Reply