Results 1 to 5 of 5

Thread: Setting the clock

  1. #1
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528

    Setting the clock

    I received the following as a Private Message, and it seems like a useful general question for the forum. It's posted here without attribution, as I don't have the sender's permission.
    I think i accidentally set the clock incorrectly... now i don't know how to change it back >.<
    It's easily done, with root permissions. First set the System Time (from the lxterm):
    Code:
    sudo time-admin
    You'll probably want to set the TimeZone as well as the time where you live. The sudo means that the system admin ("root") is authorizing this, rather than a less-privileged user ("knoppix"). Second, set the Hardware Clock to the System Clock time:
    Code:
    sudo hwclock -w 
    or 
    sudo hwclock --systohc
    This will cause the system to keep the clock setting from the current session in future "boots."

    Cheers!
    Krishna
    Last edited by krishna.murphy; 07-25-2010 at 03:03 PM. Reason: Clarity

  2. #2
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    Thanks
    I will try this right away

  3. #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    hmm... it says... time-admin: command not found... hwclock works... tho... still trying to set to the correct time zone...

  4. #4
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    $ ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

    this worked !!!! haha... didn't think of using a command line to fix it... thought there would be some kind of UI for that >.<

  5. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    private messages don't reach me as I don't read them.

Posting Permissions

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


NEW Original OEM 60W Power Adapter Charger A1344 for APPLE 13

NEW Original OEM 60W Power Adapter Charger A1344 for APPLE 13" MacBook Pro A1278

$22.25



85W OEM NEW Power Adapter Charger For Apple Macbook Pro 13 15

85W OEM NEW Power Adapter Charger For Apple Macbook Pro 13 15" A1424 A1502 A1398

$24.25



Original OEM 87W USB-C Power Adapter Charger for Apple MacBook Pro 15

Original OEM 87W USB-C Power Adapter Charger for Apple MacBook Pro 15" 13" A1719

$28.45



OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Silver picture

OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Silver

$134.99



Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER picture

Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER

$18.99



Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - Apple picture

Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - Apple

$9.79



Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White picture

Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White

$10.95



Genuine OEM Apple 10w USB Wall Charger Adapter iPhone iPad with Lightning cable picture

Genuine OEM Apple 10w USB Wall Charger Adapter iPhone iPad with Lightning cable

$6.99



APPLE OEM Power Extension Cable 6ft for Macbook, Macbook Air, Pro 2.5A 125V-NEW picture

APPLE OEM Power Extension Cable 6ft for Macbook, Macbook Air, Pro 2.5A 125V-NEW

$19.99



Genuine OEM For Apple 87W USB-C Power Adapter, MacBook Pro Charger picture

Genuine OEM For Apple 87W USB-C Power Adapter, MacBook Pro Charger

$26.99