Hardware Clock in UTC

In the past it was possible to have the computer's hardware clock in UTC using the following setting
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
     "RealTimeIsUniversal"=dword:00000001
With Windows 8.1 this settings seems to be ignored.
How do I set the hardware timer to UTC?
(a similar question was asked ages ago in http://social.technet.microsoft.com/Forums/windows/en-US/8b7ce360-a9b1-4358-84cb-3559b063b1d2/windows-7-internet-time-update-and-realtimeisuniversal-utc-registry-hack?forum=w7itproinstall )

To restate the problem:
Microsoft Windows expects the hardware clock on the machine upon which it is running to be local time. Linux machines and others set and use the hardware clock as UTC (aka GMT) time. Thus, when a machine can be dual-booted,
there is a discrepancy in the reported time. You can modify the other operating system parameters to deal with a hardware clock in local time, or you can change Windows to cope with a UTC hardware clock.
While it is possible to kluge the time zone as is mentioned below, a simpler solution is to
synchronize Windows time with a NIST server ("time.windows.gov", e.g.) vs. the default Windows time server "time.windows.com". You can do this in the "Internet Time" tab when you click on the date/time on the system bar. Once it refreshes,
the time in Windows will be the correct local time, vs. the previously incorrect time.
One drawback of this method is that after booting into Windows, the incorrect time will be displayed until a refresh is performed against the NIST server. You can adjust how often this occurs on the "Internet Time" tab as
well. Another drawback is, of course, that you need an Internet connection.
I triple-checked that using this method does NOT change the hardware clock, which is good. I have used this method for a while. Your results may vary. Hope this helps.

Similar Messages

  • KDM crash - hardware clock

    I had some problems with a computer running KDE4 at work. KDM would crash back to console. Login in from console as root and switch between run levels back and forth - init 3 and back to init 5 - would get KDM up and running with no problem though.
    Fix:
    - in BIOS hardware clock was two hours back in time, adjusting it correctly mad KDM start correctly
    From kdm.log:
    kdmgreet(2657)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server"
    This message is persistent even though KDM now starts. Intriguingly, at least for me, is the fact that the log after adjustment of time is two hours ahead of time. During crashes is was correct. System time was and is correct (ntpd).
    Two questions:
    - how come KDM log doesn't adhere to neither system or BIOS hardware clock?
    - is it reasonable that such a "small" error causes KDM to crash?
    The first question seems to be answered by the fact that kdm.log complaints about not being able to connect to D-Bus server. However why doesn't it? Dbus is started as it should, and no other services seem to

    To restate the problem:
    Microsoft Windows expects the hardware clock on the machine upon which it is running to be local time. Linux machines and others set and use the hardware clock as UTC (aka GMT) time. Thus, when a machine can be dual-booted,
    there is a discrepancy in the reported time. You can modify the other operating system parameters to deal with a hardware clock in local time, or you can change Windows to cope with a UTC hardware clock.
    While it is possible to kluge the time zone as is mentioned below, a simpler solution is to
    synchronize Windows time with a NIST server ("time.windows.gov", e.g.) vs. the default Windows time server "time.windows.com". You can do this in the "Internet Time" tab when you click on the date/time on the system bar. Once it refreshes,
    the time in Windows will be the correct local time, vs. the previously incorrect time.
    One drawback of this method is that after booting into Windows, the incorrect time will be displayed until a refresh is performed against the NIST server. You can adjust how often this occurs on the "Internet Time" tab as
    well. Another drawback is, of course, that you need an Internet connection.
    I triple-checked that using this method does NOT change the hardware clock, which is good. I have used this method for a while. Your results may vary. Hope this helps.

  • Hardware clock and system clock don't match

    hello. i recently upgraded to kde 4.7, and i don't know if it's the culprit or not, but my system clock is now ahead of the hardware clock by the timezone offset.
    my timezone is Asia/Manila, which is UTC+8. so if the correct time is 00:00, the system time is 08:00.
    i dual boot with windows so the HARDWARECLOCK setting in /etc/rc.conf is set to localtime.
    interestingly, the commands "hwclock --show" and "date" both show PHT as the timezone, but with the aforementioned time skew. to illustrate:
    # hwclock --show
    Fri 05 Aug 2011 10:45:02 AM PHT -0.500309 seconds
    # date
    Fri Aug 5 18:45:02 PHT 2011
    running "hwclock --hctosys" fixes the problem while logged in, but restarting the computer reverts the problem. i could put a daemon that runs the command at startup, but i never needed to do that before and i'm not inclined to at the moment. i think this is just a misconfiguration somewhere.
    thanks for any help you could give.

    hello. it is
    hwclock from util-linux 2.19.1
    Using /dev interface to clock.
    Last drift adjustment done at 1312511647 seconds after 1969
    Last calibration done at 1304274137 seconds after 1969
    Hardware clock is on local time
    Assuming hardware clock is kept in local time.
    Waiting for clock tick...
    ...got clock tick
    Time read from Hardware Clock: 2011/08/05 12:08:46
    Hw clock time : 2011/08/05 12:08:46 = 1312517326 seconds since 1969
    Fri 05 Aug 2011 12:08:46 PM PHT -0.690104 seconds

  • [SOLVED] System time is +4hrs from hardware clock

    Hello again.
    Now I can't set up my system`s time properly. (Set system time from hardware clock)
    Timezone is GMT+4 (Europe/Samara) and hardware clock (RTC) is set to proper time so does UTC.
    But system`s time itself is 4 hours in the future from HW clock!
    # hwclock --hctosys --utc
    does nothing.
    # timedatectl set-local-rtc 1
    or
    # timedatectl set-time "$mytime"
    both do nothing and output following error:
    Failed to issue method call: The name org.freedesktop.PolicyKit1 was not provided by any .service files
    Also, removing /etc/adjtime does nothing!
    How can I fix it?
    Last edited by eruditorum (2012-11-25 10:52:14)

    ewaller,
    hwclock from util-linux 2.22.1
    Using /dev interface to clock.
    Last drift adjustment done at 1353744432 seconds after 1969
    Last calibration done at 1353744432 seconds after 1969
    Hardware clock is on UTC time
    Assuming hardware clock is kept in UTC time.
    Waiting for clock tick...
    ...got clock tick
    Time read from Hardware Clock: 2012/11/25 05:40:17
    Hw clock time : 2012/11/25 05:40:17 = 1353822017 seconds since 1969
    Sun 25 Nov 2012 09:40:17 AM SAMT -0.907738 seconds
    Last edited by eruditorum (2012-11-25 04:35:10)

  • [SOLVED] Gnome clock is 2 hours off hardware clock

    hi, i'm not sure if this is the right place to post but here we go..
    I've just installed arch on my laptop and now everything seems to work pretty well, although the clock in gnome/cinnamon is 2 hours off hwclock/localtime. Does anyone have a suggestion how to fix this? I don't seem to be able to edit it manually through the gui
    Last edited by frmi (2012-08-21 15:29:45)

    2ManyDogs wrote:
    When you did the install, did you do this step: https://wiki.archlinux.org/index.php/Be … clock_time
    frmi wrote: the clock in gnome/cinnamon is 2 hours off hwclock/localtime
    Does this mean your hardware clock is set to loacal time?
    What does
    sudo hwclock
    return (and is that local time)?
    and what is in /etc/adjtime?
    This just made me realise that it's the hwclock which is off localtime.
    Would
    # hwclock --systohc --utc
    Set the clock properly or should i use localtime instead of utc?
    anyway here's the output:
    [fm@fm-lap ~]$ sudo hwclock
    Password:
    2012-08-19T15:39:23 CEST -0.145579 seconds
    [fm@fm-lap ~]$ cat /etc/adjtime
    0.000000 0 0.000000
    0
    UTC
    Last edited by frmi (2012-08-19 11:50:01)

  • Hardware Clock Delayed

    Hello everybody. Since I installed Arch I realised that my laptop BIOS clock and my Archlinux clock as well are 2 hours delayed, but Ubuntu's clock is on hour.
    And if I change in the BIOS menu the hardware clock and set it on hour when I reboot the laptop it sets it -2 hours again.
    Maybe this is irrelevant but I live in GTM+2 (¿the clock sets to GTM? I don't know)
    Someone gets an idea?
    Thank you!

    Check the "TIMEZONE"  and  "HARDWARECLOCK" entries in your /etc/rc.config. Mine are set to "UTC" (hardwareclock) since Arch is my only OS on my machine and "Europe/Berlin" for timezone. Another possibility would be using NTP to sync your clock with a timeserver.

  • Hardware Clocking Error PCI-5122

    I tried to run the vi attached (which i've run many times before) and my computer bluescreen.  When it rebooted, I could no longer use my PCI-5122 digitizer card.  When I try to do a device test or device reset in MAX, it tells me that theres a hardware clocking error..   I was using an external trigger for the aquisition, but don't think I was using an external reference clock.  Could someone help me fix this?
    Thanks
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5
    Solved!
    Go to Solution.
    Attachments:
    OPO Monitor.vi ‏53 KB

    Hi,
    This error may be the result of a hardware failure where the only
    solution is a repair or replacement. There are however, some basic
    troubleshooting steps that have been known to correct this issue
    without a return.
    Reboot the PC or PXI controller.
    Try a different PCI or PXI slot.
    Update the driver to the latest version.
    If possible try the card on a different machine.
    If these steps to not correct the issue then it is likely the
    board requires repair which can be arranged by contacting National
    Instruments Technical support (in france: 01 57 66 24 24).
    Best regards,
    Thomas B. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Inscrivez-vous gratuitement aux Journées Techniques : de l'acquisition de données au contrôle/com...

  • OVM Guest wrong hardware clock

    Hi,
    I'm running an Enterprise Linux 6.3 (PVM) on an OVM host.
    The problem is that the date in the EL guest doesn't correspond to the date in the OVM host. The time in /var/log/messages is skewed: it's 6hours too early.
    The hwclock on the host:
    [root@lnx-iaovm01 /]# hwclock
    Fri 17 May 2013 10:53:51 AM CEST -0.737400 seconds
    Output of the command on the guest:
    [root@lnx-ianag01 vm]# hwclock --debug
    hwclock from util-linux-ng 2.17.2
    hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
    No usable clock interface found.
    Cannot access the Hardware Clock via any known method.
    I tried the following solution: ln -s /dev/rtc0 /dev/rtc
    but I don't have a /dev/rtc0 directory so this isn't very successful
    I also tried setting my TZ in my /etc/profile (so the "date" command atleast is correct but since this is just an environment variable so it doesn't really help either).

    Isn't it easier to just enable ntp to sync your VM with a clocksource locally in your network or on the internet?

  • Hardware clocking error # 200550, PCI-5122

    The PCI-5122 does not pass the self test. It
    says "error 200550 occured. Possible reason: Hardware clocking error
    occured". I'm not using any external clock and my PC is 3Ghz pentium
    with Windows XP and Labview 7.0. Uninstall/install of NI_Scope and NI DAQmx didn't
    help.
    By the way, if I put PCI-5911 card instead of PCI-5122 into the same PCI slot, it works fine.

    Hello Danraz,
    It sounds like you have followed all of the recommended steps for troubleshooting for this type of error.  As one additional step you could test it in another PC if you have one available.  Unfortunately, you will most likely need to send your board in for repair.  Please contact support to make arrangements.  You will be asked to provide them the serial number of your board in order to have the board repaired, and they may also verify your troubleshooting steps at this time. 
    Regards,
    Jennifer O.
    Product Support Engineer - High Speed Digitizers

  • How do I synchronize a 250x250 Scan AO and AI with hardware clocks?

    Hi,
    I am building a Scanning tunneling Microscope STM which requires a 250 by 250 pixel scan with a delay of about 1ms between pixels. I want to start the scan with a software trigger. The scan entails outputting an x and y value using two AO channels , wait about 1ms then read a tunnel current analog input value at that position, store it in an array and repeat till done. The array will then be plotted using an intensity graph.
    As an option, I would like to plot a single line of the scan as it is completed to allow operator monitoring as the scan is produced. I have programmed this in sw using nested while loops but the overhead is too great for 1ms pixel sample times.
    I have found a close solution in forum under the AI delay following an AO that used a hardware trigger to start process : See" AODelayAI.vi"
    I have a PCI MIO 16E-4 DAQ board and am using LABVIEW 6.
    PS: Is there any discrete that is generated by an AO which can be used to trigger an AI or a counter?

    I have several follow up questions:
    Q1)Re your suggestion to use the AO to trigger a counter : What signals sources from AO processes are available to route to the counter trigger? I have no external sources.
    Q2)
    What about this alternative proposal for a single AI read at each point?
    a) use counter0 to generate a single pulse (about 1ms wide) , low phase 1, hi phase 2. Start counter with SW.
    b) set AI trigger to output of counter0. Trigger on hi to low edge.
    c) set AO trigger identical to AI trigger. Trigger on low to hi edge.
    Read
    Set AI scan rate and number of scans to match the AO scan parameters with timing based on internal scan clocks.
    Q3)I foresee a possible need to make 20 to 100 AI samples at each (x,y) point for post processing averaging of noise effects. What modifications are needed to AI trigger scheme to make these reads to a buffer and read the buffer without adding significant software overhead?
    Thanks again

  • Setting clock in utc with NITS time

    How can I keep my iMac in syc with NIST. I cannot find any programs for this. There are alot of utc time display programs but as far as I can tell they only use computers clock. I need something that will change computer clock with NIST
                                                              Kevin

    Hi Kevin, not on 10.7 at the moment, but open System Preferences>Date & Time, isn't there a place to check automatically set Date & Time, & a field to enter a NIST Time Server?
    http://tf.nist.gov/tf-cgi/servers.cgi

  • Hardware clock in PCI-6052E

    Is there any  indication either it uses windows clock or DAQ STC built in timer.
    my question is how we know that a normal
    programme in labview is using which clock???

    Dear Haider,
    Since you are using AI Start, your analog input is hardware timed. This means that your data is read from the buffer at regular times. Everything else in your program is software timed. I know this because the software is doing the checking for the condition and the digital lines of the PCI-6052E can be output with hardware timing, but it involves using the an analog clock. For more information on this look at the examples in the Example Finder (LabVIEW help menu>>Find Examples) under Browse Hardware Input and Output>>Traditional DAQ>>Digital Input and Output>>E Series.
    Have a great day!
    Marni S.

  • The tempo goes irregular while recording.... I have Logic 9 with a Presonus FireWire Console... can this be solved with a professional hardware clock? Thank you.

    Hello... I use Logic Studio 9 and a Presonus Firewire console.... the tempo goes irregular (mostly slower) while recording... I guess this is due to any digital incongruence... I just need to know if this problem can be solved by using a professional clock (Apogee Rosetta, for example).. Thank you.

    Probably the reason why no one has answered you, is because it could be a BAZILLION things.
    You haven't mentioned what OS, what computer, your harddrive....
    Where to begin??

  • Sync Hardware-clock with ntp

    Hi everybody,
    I don't know if I'm right here, but I don't know, whereelse I can post my problem.
    I use xntp to sync my Solaris8 servers with a NetwareServer over ntp using xntp.
    Everything seems to work fine, but my Hardwareclock does not sync with the received time. In ntp.conf I set "enable pll" wich should enable HW-Clock to sync but when I use the "date"-command time keeps different (about 6 minutes) from the ntp-server.
    What's wrong with my configuration?
    Thanks so far
    Sabine

    brebs wrote:11-minute sync mode
    Right, I've checked from `adjtimex --print`, that 11 minute mode is indeed on here (supposedly activated by ntpd). This should mean that  with ntpd in effect, `hwclock --systohc` is indeed unnecessary at all (also doesn't hurt).
    tjwoosta wrote:I also noticed that when I reboot my clock always goes back to being out of sync untill about 10 minutes later when ntp syncs it.
    How much is the clock off when the system boots up? And how long has the system been down?
    Or did you mean really "reboot"? In that case, I guess the 11 minute mode is off.
    Running ntpdate at bootup as brebs suggested should be fine. Adding ntpdate to your DAEMONS array should do it (but I'm not sure if it will disable 11 minute mode).
    Below is my current point of view on this issue (correct me if anything is wrong):
    If you want to maintain the RTC accurately, you use hwclock as the *only* program that ever sets/adjusts the RTC. To do this, you must prevent anything else from setting the RTC, e.g. the 11 minute mode, or another OS. This has the benefit of relatively accurate time at boot up, by running `hwclock --adjust && hwclock --hctosys`.
    On the other hand, if you can't prevent others from setting the RTC, don't use hwclock to set/adjust RTC at all. The downside is that any drift of the RTC when the system is down will not be adjusted at boot up, but can only be corrected later by ntpd + the 11 minite mode, or whatever.
    Last edited by lolilolicon (2011-05-09 07:46:55)

  • [SOLVED] System Clock Issues (Wrong UTC?)

    **RESOLVED -- SEE END FOR FIX
    Hello everyone.
    First off I'd like to say that I am thrilled to be here. I've been an Ubuntu user for a few months now, but decided that it was time to take a trip down the rabbit hole and see all that Linux had to offer--and to that end I switched to Arch. And I must say that I have nothing but positive things to say of it. The documentation on the Arch Wiki was phenomenal in helping me get started on the process, and the installation of it has proved to be a very enjoyable learning experience.
    With that said, I have run into a bit of a snag, and after perusing the documentation on the Wiki, as well as running a few Google searches and searches of this particular forum, am no closer to a solution that when I started, so here I am. The problem is with my clock.
    Okay, so I live in the Eastern United States, and as a result have my local time set as Eastern, and I have my hardware clock running UTC. Here is the problem. . . For whatever reason, the time displayed on my clock is five hours behind. Perplexed, I decided to see if I had set up my time zone info incorrectly and ran the "timedatectl status" command, and the results were really strange. A copy paste of the output is here:
          Local time: Thu, 2012-12-20 19:27:02 EST
      Universal time: Fri, 2012-12-21 00:27:02 UTC
            RTC time: Fri, 2012-12-21 00:27:02
            Timezone: America/New_York
          UTC offset: -0500
         NTP enabled: no
    NTP synchronized: no
    RTC in local TZ: no
          DST active: no
    Last DST change: EDT → EST, DST became inactive
                      Sun, 2012-11-04 01:59:59 EDT
                      Sun, 2012-11-04 01:00:00 EST
    Next DST change: EST → EDT, DST will become active
                      the clock will jump one hour forward
                      Sun, 2013-03-10 01:59:59 EST
                      Sun, 2013-03-10 03:00:00 EDT
    As you can see, the time zone is set correctly to America/New_York (originally US/Eastern, but I changed it to try and resolve the problem--to no effect, obviously). However here is where it gets strange. As I type this, it is 00:27 local time. My computer has decided to use the local time for UTC, and then subtracts five hours (as I live in UTC -5) to get the local time that it displays.
    I've tried rerunning the hwclock --systohc --utc command, to no avail.
    If anyone has any input as to why my computer is confusing UTC and local time, and any way I could fix it, I would greatly appreciate it.
    I could just change my timezone to UTC - 0, that would cause my system to display the right time (I think) but I'd rather actually fix the problem, instead of simply covering it up with a band aid, if it is possible.
    Thank you,
    Douglas
    EDIT:
    I probably should mention that the machines (I'm having this same problem on two different computers) are both running Arch Linux and Arch Linux alone, although one was originally a Windows 7 and the other a dual boot of Win 7 and Ubuntu.
    RESOLUTION (Thanks lhoffman):
    Install the network time protocol daemon. This will allow you to sync your system time over the internet.
    sudo pacman -S ntp
    Once installed, run the following command:
    ntpdate pool.ntp.org
    This will link your computer with the time servers of the NTP Pool Project. For me my clocks fixed themselves quickly after running the command. And that was it.
    After running this command and setting the system clock, run:
    hwclock -systohc      (thanks Scimmia)
    Otherwise the computer will mistake local time for UTC and subtract/add time based upon your timezone again upon reboot.
    Last edited by douglasr (2012-12-21 21:23:11)

    Scimmia wrote:Not exactly. The root of the problem is that your hardware clock is set to localtime. To change this, you need to update the system (software) clock, which ntpd already did for you. The timedatectl command would have just done that manually. Now that your system clock is correct, you need to write this to your hardware clock so that it is correct when you reboot. hwclock --systohc does that. If you don't run that command, the system will boot up thinking it's getting UTC from the hardware clock and will subtract 5 hours. Then, once ntpd runs, the time will skip ahead 5 hours. This will cause all kinds of issues.
    I fixed this on my system too. Thanks for the explanation.

Maybe you are looking for

  • How to config CRM Free Goods with R/3 as backend

    Hi, We using CRM 4.0 SP 10. We are having problem displaying the free goods quantity in CRMD_ORDER. I already done customizing "set up free goods" in CRM and downloaded R/3 customizing and master data but yet when i do the transaction CRMD_ORDER stil

  • Credit managment against payment terms  and credit limit

    Dear All, I have two query against credit management 1   Can We maintain credit managment as per payment days. My client want system should give bolck as per payments days,say if payment terms is 30 days and within 30 days customer has not made payme

  • Installment payment method

    Hello Experts, I have created a few installment payment terms & assigned to a vendor. Could you please help me on operation if I want to : 1. pay my vendors advance (down-pay) based on those installments %ages mentioned. 2. generate a list on a daily

  • [JS CS3] Display number of changes made

    My script does a simple GREP find/change: app.findGrepPreferences.findWhat = "grepstringtofind"; app.changeGrepPreferences.changeTo = ""; myDoc.changeGrep(); Is there any way to have the script display the "Search is completed. 121 replacement(s) mad

  • Unload data triming spaces

    Hello, I want to unload some fields from a table to a flat ascii file, with a separator ('|' for example) and, the most important, deleting the blank spaces after each column. Also, I want to order the output by a field. If I do this (in sqlplus): se