Fix date, time dan Time Zone di Ubuntu
Dual-booting with Ubuntu and Windows sometimes giving a problem with date and time in Ubuntu. This is a well-established problem when dual-booting, since Linux assumes the hardware clock represents UTC, whereas Windows assumes the hardware clock represents local time. Luckily Linux provides ways to change this to fix it.
If you go into your clock settings, I think you can select between setting the hardware as either UTC or local time. Try switching that, and then adjust the time and see if it “sticks.”
If not, you can do this via the commandline in Linux :-
-
In Linux, set the date and time to what it currently is. For example if it’s 10:20am local time:
user@server:~$ sudo date -s 10:20
-
Then update the hardware clock accordingly, and force this to be considered “localtime”:
user@server:~$ sudo /sbin/hwclock --systohc --localtime
-
Check to make sure it looks right:
user@server:~$ sudo /sbin/hwclock --localtime
-
Sync between hardware clock and system clock:
user@server:~$ sudo /sbin/hwclock --hctosys --localtime
Now Linux should consider the clock to be “localtime”, which should be identical to what Windows is doing. So after rebooting into Windows, the time should look right.
Sumber :
http://burnz.wordpress.com/2008/06/20/fix-date-and-time-in-ubuntu/
Merubah setting Tanggal di ubuntu dari Konsole
Sebenernya ini hal sepele banget tapi klo kita lupa atau tidak tahu dan pada saat itu sangat di butuhkan maka menjadi hal yang sangat penting.Dari pada ntar aku juga lupa mending aku tulis aja..
1.Misal kita ingin menampilkan Sep 08 10:10:10 2009
perintahnya
# date 09081010102009
2.Lakukan juga penyetelan pada hardware clock caranya:
# hwclock --systohc
untuk melihat lengkapnya ketik :
# hwclock --help
3.Untuk merubah setingan yang sudah terlanjur default ke UTC menjadi setingan waktu lokal ketikkan:
# sudo vim /etc/default/rcS
ganti UTC=yes menjadi No
Sumber:
http://ochid99.multiply.com/journal/item/6/Merubah_setting_Tanggal_di_ubuntu_dari_Konsole
Merubah Time Zone
# sudo dpkg-reconfigure tzdata
Search
Artikel
Archives
- February (7)
- January 2007 (31)
- December 2006 (31)
- November 2006 (30)
- October 2006 (31)
- September 2006 (30)