Setting timezone and hwclock result in bad time saved to bios

When I follow the guide https://wiki.archlinux.org/index.php/be … #Time_zone and set following in chrooted Arch environment, I always end up with bad time saved to my pc bios.
ln -s /usr/share/zoneinfo/Europe/Prague /etc/localtime
hwclock --systohc --localtime
Before the symlink, 'date' prints correct local time - it doesn't know my time zone so it prints the correct time (thinking I'm GMT+0). I use Windows so it's stored in BIOS as local time ('hwclock' also correctly prints local time and not UTC).
After the symlink, 'date' shows incorrect time - it shows my time zone but the actual displayed time is +2 hours from my local time (UTC+1 DST/CEST). It makes sense that 2 hours were added to the time because previously the time was printed as GMT+0.
Single ntp sync in Arch or Windows fixes this time shift forever but it should be possible to prevent this, right?

While I do agree with @ewaller that UTC is the "way to go", I think "Linux devs" should put a little more effort into supporting both local time and UTC setups
One reason why I think this is important is for people who need to switch between booting a "locked down" Windows (for work, school, etc, where they have no / limited admin rights) and Arch.
If you don't belong to this group of unfortunate people, you can try forcing Windows to use UTC for the hardware clock, no matter which time zone you're in: https://wiki.archlinux.org/index.php/Ti … in_Windows
EDIT:
Try this link for extra steps on newer Windows versions (see JumperPunk's answer, not the accepted one!): http://superuser.com/questions/494432/f … bios-clock
(perhaps this should be condensed and added to the Wiki?)
Last edited by ackalker (2014-05-12 14:57:24)

Similar Messages

  • How to set alarm and clear alarm in specific time

    Hi in my project i have to set alarm when ever there is limit vilation and clear it when ther is no limit viloation.But the problem is i should not set alarm for every violation,ihave to check,in 10 sec if there are 3 violations then only i have to set alarm ,and this set alarm should occur where the first violation took place,and this should be wriiten in log file.
    for example if iam measuring alarms, in 1-11(10) seconds,in 10 sec if i have only two alarms set and clears ,then no problem,again i have to check from 2-12(10)seconds,in this 10 sec if i have 3 or more alarm i have to set alarm,wher the first alarm set has occured i,e In 2-12 sec if there is alarm set at 3rd sec,6th sec and 10th sec then i have to set alarm at the 3rd sec and i have to clear alarm at 10th second.Again i have to check from 3-13 and so on.It seems to be complicated,but pls help me,iam attaching my VI:
    Attachments:
    alarm_final[1]_time_k.vi ‏144 KB

    Here is a simple VI which monitors the number of alarms and the elapsed time. It does have some bugs but I think it will show an approach.
    Lynn
    Attachments:
    3in10.vi ‏52 KB

  • Powershell script set timezone and default calendar rights to NonEditingAuthor

    Hi
    How do I make a Powershell script setting Timezone to da-dk and calendar rights on default user to NonEditingAuthor for all users?
    Best regards
    MSISOM

    For product specificquestions yoou should post in the product forum.  In this case in teh O365 forum.
    I conencted in to see how easy it is to find the info.  On query was all it took.
    Set-MailboxRegionalConfiguration  --->>
    http://technet.microsoft.com/en-us/library/dd351103(v=exchg.150).aspx
    Searhing O65 is the best place to find your answers.  Post here when you have an issue of how to use PowerShell.
    http://community.office365.com/en-us/f/613/t/29986.aspx
    ¯\_(ツ)_/¯

  • What is a Scorecard Custom Set Formula and how do I use it?

    When creating a Scorecard (in Dashboard Designer) which includes a KPI, in the right "Details" frame, there is a section for "Set Formulas" and under that (along with Time, which I understand) is "Custom" which I can't find
    any documentation for. How can and how do I use this? (I am using tabular data sources, if that matters.)

    Hi,
    Quote:
    “Set formulas represent the ability to add some advanced MDX or TI expressions to the scorecard.
    The Time Set Formula option allows the entry of TI expressions that will be expanded on the scorecard.
    The Custom Set Formula option allows the entry of a MDX set expression that will be used within the scorecard. The usefulness of this feature has diminished somewhat with the new dynamic hierarchy selection capabilities included in PPS 2010. However,
    the Custom Set Formula feature does still have some value.”
    Please refer more information from:
    http://tutorial.programming4.us/windows_server/SharePoint-2010-PerformancePoint-Services---Understanding-and-Working-with-Scorecards-(part-2).aspx
    http://blog.gnetgroup.com/bi/2012/10/08/dynamic-mdx-if-the-last-day-of-data-isnt-always-day-1/
    http://office.microsoft.com/en-in/dashboard-designer-help/creating-scorecards-by-using-performancepoint-dashboard-designer-HA101730034.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • APPLE TV 2 HD model and updated to latest version 6.1.1 since doing that it won't set date and time and tells me my Apple ID and password are incorrect and I know there not. What do I do?

    It connects to internet fine. I have tried restoring back to factory condition and hard wire update by connecting it to my Mac mini .
    The date and time won't set. And won't acknowledge my Apple ID and password......... I am usually tech savy but this has caused me grief .
    Do I need to downgrade my update....
    But can't get any menus until I log in my apple account...
    It can't log into my iTunes account until time and date have been set.
    When I did the hard wire restore connected to Mac mini it wouldn't go past the date and time screen as it wouldn't when I did the wifi update too.
    it just would get past that screen.
    Anyone help!!

    This is the result of a network issue.  Ensure port 123 on the router is open.

  • When attempting to format region and set date and time the busy icon appears and seems to stay like this?

    when attempting to format region and set date and time the busy icon appears and seems to stay like this?

    Click on DU's Partition tab when you have the raw drive name selected, then set it to one partition, Mac OS Extended. If it crashes or freezes, it is finding a bad block and can't write.
    In any event, if you want to use the drive, and have not zeroed it before, you should now.
    Click on Erase -> Security Options -> Zero out data. Still with the full drive selected and not any partition(s).
    Then repartition the drive if needed.
    Boot from the DVD if that doesn't work. And no, TTPro has never mapped out bad blocks let alone create partitions.
    Disk Utility in 10.4.8 is quite good, excellent in fact. No need for an alternative.
    Your eMac drive may need to touch of Disk Utility itself. FSCK from the command line, clear the caches with Applejack along with check for corrupt plists. Between Disk Utilty and Applejack (free/shareware) never had to use TechTool Pro - or at least there weren't any errors after those two got done. But if you want a good 3rd party, pick up Disk Warrior 4.

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • How do I set date and time on apple tv?

    How do I set date and time on apple tv?

    Fixed the same problem, STEPS
    1. Reset your apple TV
    2.It will again stuck on that setting, ignore it by press menu
    3. Unplug ethernet wire
    4. Try to connect with wifi, it should be work with wifi connection as mine.
    5. Then you can switch back Ethernet wire after get fixed.
    Thanks. Lemme know dude if it's work.

  • PLEASE HELP 2/24/13 Brand new iPod Touch 5th Gen froze on set up and I tried to shut it down and it was on the apple logo screen for a long time and it shut down but now it won't turn on! PLEASE HELPPPPPP

    DESPERATE PLEASE HELP So my mother got herself an iPod touch 5g for Christmas and barely asked me to set it up last night, (BRAND NEW NOT OPENED YET).. I set it up not plugged into iTunes (directly on iPod). I was setting up a new iTunes account for her (got passed Wi-fi set up and location services) and as I was doing that, it mysteriously froze somehow. So I held the home button and power button down simultaneously, which I thought would restart the iPod/shut it down.. so it did, and it was on the apple logo screen for a LONG TIME.. and when I checked after a long time, it was black. I tried to turn it on, charge, and plug it into itunes (iMac computer) and it won't turn on!!!!! PLEASE HELP

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0

    can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0 or Iphone 4s or Ipad 2?

    You can only connect to one device at a time using Bluetooth, See article below for more information.
    http://support.apple.com/kb/ht1664
    While your iOS device can maintain multiple pairing records, it can only connect to one headset or hands-free device at a time. This prevents your iOS device from sending your data to the wrong Bluetooth accessory.

  • Having very difficult time setting up and running time capsule and airport

    I am having a very difficult time setting up and running airport express and time capsule. My time machine is not being recognized by my mac. The amber light keeps blinking. I'm ready to stsrt over.

    #3 for itunes streaming. I reset the base station and eventually was able to get the backup working and now my green light is on. Next I'd like to be able to play itunes using Airport Express and have connected to my stereo receiver in another room.
    AirPort Express Base Station (AX) - iTunes Setup
    Either connect to the AX's wireless network or connect directly, using an Ethernet cable, to the Ethernet port of the AX, and then using the AirPort Utility in "Manual Setup" mode, make the following changes:
    AirPort Utility > Select the AX > Manual Setup > AirPort > Wireless
    Wireless Mode: Join a wireless network
    Network Name: <existing TC's wireless network>
    Wireless Security: <select the encryption type of the existing wireless network>
    Wireless Password: <enter the existing wireless network password>
    Verify Password: <re-enter the existing wireless network password>
    AirPort Utility > Select the AX > Manual Setup >Music
    Enable AirTunes (checked)
    iTunes Speaker Name: <enter desired speaker name>
    iTunes Speaker Password: (optional)
    Verify Password: (optional)
    Click Update to write the new settings to the AX

  • I keep getting an error message ''dbghelp.dll is missing.  please reinstall itunes''  did that 3 times and same results.  can't sync my iphone or even open itunes

    i keep getting an error message ''dbghelp.dll is missing. please reinstall itunes''  did that 3 times and same results.
    i can't sync my iphone and i can't open itunes
    how do i resolve this issue?

    Taken at face value, you're having trouble with a Windows OS dll.
    Perhaps try an sfc /scannow. For instructions, see the following Microsoft document:
    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

  • I really need to go back to the save I made a day ago, my time machine is not set up and files haven't been automatically uploading to cc is there anyway I can go back a day in saves?

    Hi, I just had an issue with a photoshop document, my mac book temporarily crashed the screen glitches and deleted some vital layers I had constructed (took half a day) I thought I could correct it and saved it a few times in a panic and now i really need to go back to the save I made a day ago, my time machine is not set up and I just realised my files haven't been automatically uploading to cc is there anyway I can go back a day in saves?

    Trevor.Dennis wrote:
    So you don't have anything like Shadow Protect running in the background?
    Video editing software only needs to save the steps taken to achieve the edit, and references the actual video files from the hard drive.  So the saved files are only tiny, and it takes very little drive space to auto save to incrementing file names.  Obviously, Photoshop files can be huge by comparison, so the only way to save with a different file name is to do it manually.
    I think most regular posters to this forum make a point of updating the file name of a large project every hour or so, and as a direct response to reading so many horror stories like your own.  The worst story I remember was from a poster whose computer had crashed half way through saving a large PSD file.  After several response, questions and answers, it turned out he was using a laptop with a failing battery.  He told us that he could see the battery was getting low, but left it and left it before finally hitting Ctrl s and running off to find the laptop's power lead. When he got back the laptop had run out of power and shut down, and his PSD file was lost forever.  He may have been a prime candidate to a computing Darwin Award, but his stupidity still did the rest of us a service so we could learn from his mistake.
    Ouch. 
    My digital audio workstation works on the same principle; it creates a backup save just in case things go wrong (which--knock on wood--hasn't happened to me) and only references audio/MIDI files that are related to the project.
    My advice is to always, always back up sensitive documents. There are lots of ways of doing this, from manually to automatically. (e.g., A lot of higher-end routers let you connect external storage via USB so you can run backup software that detects any changes to a monitored folder over a network and then backs up any changed/updated documents to the connected storage. I prefer to do it myself manually, though.)

  • Setting date and time in java mail

    I want to set date and time for the mail sent by my application.
    So how to set date and time for my mail.

              msg.setSentDate(new Date());Where msg is an instance of javax.mail.Message.

Maybe you are looking for

  • Arrays or Spreadshee​ts? Help with School Excercise

    Hello there, my Control Systems Engineering professor will make us a LabView test in a couple of weeks, although he won't actually teach us the software, but rather we need to get our hands dirty. Anyways, I'm trying to resolve this excercise: Proble

  • How to change the Element structure of a DefaultSyledDocument

    Hello, I'm trying to override the insertUpdate method of DefaultStyledDocument so that I could build my own Element structure by adding my own BranchElement- and LeafElement-s. If I examine the Element hierarchy everything seems OK. But when I use my

  • Can no longer log in??

    Hi, I had a CD get stuck in my optical drive so I shut down the computer to reboot and hopefully eject the CD. On the restart, the log in screen came up as usual with the right name. I put in my password and it shook it's head at me. I entered again,

  • Need guide with function module MKT_ELEMENT_CREATE

    Hi experts, currently i'm using FM MKT_ELEMENT_CREATE to create campaigns and campaign elements..but im unsure on how to use it... these are my codes so far:   gw_crm_mktpl_mktelement-external_id = 'C-0000000000000000003000'.   gw_crm_mktpl_mktelemen

  • Oracle Report vs JSP efficiency and Excel XML in Web Source Questions

    I have used Oracle Reports in the past 6i, but haven't used them in about 4 years. We are now using 9.0.4 reports and I am trying to generate Excel XML from an Oracle report by manipulating the web source of the report. Basically copying and pasting