Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2014
    Posts
    13

    Default Wrong Time Displayed

    Hello,

    When I compare files many are given as different as the source: time is one hour ahead.
    But wrongly.



    What am I doing wrong?
    I tried also to ignore daylight savings and/or timezone differences but nothing changed.


    I'm using the latest 64 bit Version 4.2.6 (build 23150).

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,913

    Default

    Hello,

    Thanks for the report. What type of device is Y:\? Is every file present showing the one hour difference between Windows Explorer and BC4? Please note that BC4's timestamp is the Last Modified timestamp (not Created, but still an hour off). If you load up Windows Explorer, this shows a matching timestamp to Properties or BC4?
    Aaron P Scooter Software

  3. #3
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,730

    Default

    If you open a command prompt and run DIR on the same folder, does the time match the display in Beyond Compare?

    Windows Explorer in newer versions of Windows displays file times based on if daylight saving time (DST) was on or off at the time of the file timestamp. Beyond Compare displays time based on if DST is on or off at the time you're displaying the file time. DIR in a command prompt should match Beyond Compare's behavior.

    For more information, see The Old New Thing: https://blogs.msdn.microsoft.com/old...308-00/?p=5023
    Chris K Scooter Software

  4. #4
    Join Date
    Jul 2014
    Posts
    13

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    Thanks for the report. What type of device is Y:\? Is every file present showing the one hour difference between Windows Explorer and BC4? Please note that BC4's timestamp is the Last Modified timestamp (not Created, but still an hour off). If you load up Windows Explorer, this shows a matching timestamp to Properties or BC4?
    Hello Aaron,

    Sorry for my late response.
    Thank you for your reply.
    To answer your questions:

    - Y is a network folder on another PC.
    - Not every file present showing the one hour difference between Windows Explorer and BC4.
    - The timestamp in Windows Explorer match the timestamp of Properties:

    Last edited by Rando; 11-Oct-2018 at 01:42 AM.

  5. #5
    Join Date
    Jul 2014
    Posts
    13

    Default

    Quote Originally Posted by Chris View Post
    If you open a command prompt and run DIR on the same folder, does the time match the display in Beyond Compare?

    Windows Explorer in newer versions of Windows displays file times based on if daylight saving time (DST) was on or off at the time of the file timestamp. Beyond Compare displays time based on if DST is on or off at the time you're displaying the file time. DIR in a command prompt should match Beyond Compare's behavior.

    For more information, see The Old New Thing: https://blogs.msdn.microsoft.com/old...308-00/?p=5023
    Hello Chris,

    Thanks for your reply.

    You're right.
    The time in DIR match the display in Beyond Compare.



    But how can I resolve all these conflicts?
    The real time is the one in the filenamename .. in above case 20140102_141831.avi --> 14.18

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,913

    Default

    Hello,

    Daylight savings can be tricky to tackle since those are the real timestamps. It generally involves deciding if you want to ignore differences of exactly 1 hour (with the Session Setting -> Ignore Daylight Savings) or find these differences and use Touch to manually set timestamps. We have a KB article going into more detail here:
    http://www.scootersoftware.com/support.php?zz=kb_dst
    Aaron P Scooter Software

  7. #7
    Join Date
    Jul 2014
    Posts
    13

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    Daylight savings can be tricky to tackle since those are the real timestamps. It generally involves deciding if you want to ignore differences of exactly 1 hour (with the Session Setting -> Ignore Daylight Savings) or find these differences and use Touch to manually set timestamps. We have a KB article going into more detail here:
    http://www.scootersoftware.com/support.php?zz=kb_dst
    Hello Aaron,

    Session Setting -> Ignore Daylight Savings does not make any difference.

    Would it be possible to add a new option in BC for Windows: Windows Daylight Savings?

    - Consider Windows Daylight Savings
    - Consider Command Prompt Daylight Savings (DOS) --> default
    - Ignore Daylight Savings

    Thanks.
    Have a nice day.

  8. #8
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,913

    Default

    Hello,

    This option does not intend to update or alter the timestamp value, but if it is aligned to the same file that is off by one hour (because it is a different source that isn't hitting the same issue), then it would ignore that specific, 1 hour difference in timestamps.
    Aaron P Scooter Software

  9. #9
    Join Date
    Jul 2014
    Posts
    13

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    This option does not intend to update or alter the timestamp value, but if it is aligned to the same file that is off by one hour (because it is a different source that isn't hitting the same issue), then it would ignore that specific, 1 hour difference in timestamps.
    Hi,

    Yes, I know but it didn't do what I wanted.

    - The files on the network folder had one hour difference.
    - The files in the backup folder had the correct time (maybe because I did the backup of these files when Daylight Savings was not active)

  10. #10
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,525

    Default

    Hi Rando,

    The knowledge base article is a bit out of date, and we'll need to fix that.

    The core issue is that Explorer and the command line calculate the timestamps differently. The command line shows dates based on whatever the current timezone offset is regardless of the file's time. Explorer shows uses the offset active when the timestamp is set to.

    Our long term plan is to change the behavior to always match Explorer and use the appropriate DST offset for each timestamp. At that point the "Ignore daylight saving difference" setting should largely be obsolete. Unfortunately, the current behavior of a single offset affects basically all of our date handling throughout BC, so fixing it isn't trivial. It's on our wishlist, and is something we actively want to fix, but it's had to take the backseat to other high priority work.

    For now, the "Ignore DST" setting will make BC treat the two timestamps as equal, but there's no way to adjust the display itself. If the setting isn't working for comparison purposes, please let us know how.
    ZoŽ P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •