Change/update time on Linux

Sets whether the hardware clock is stored as UTC or local time.

/etc/sysconfig/clock

Symlink /etc/localtime to /usr/share/zoneinfo/… to set your timezone.

To set the current system date/time.

date MMDDhhmm

To set the hardware clock.

/sbin/hwclock --systohc

Published by

Adam

Application Architect from Florida

Leave a Reply

Your email address will not be published. Required fields are marked *