<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to set date and time under linux using command line</title>
	<atom:link href="http://www.techpulp.com/blog/2008/11/how-to-set-date-and-time-under-linux-using-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techpulp.com/blog/2008/11/how-to-set-date-and-time-under-linux-using-command-line/</link>
	<description>The pulp of technology</description>
	<lastBuildDate>Mon, 30 Jan 2012 07:42:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Melinda</title>
		<link>http://www.techpulp.com/blog/2008/11/how-to-set-date-and-time-under-linux-using-command-line/#comment-83</link>
		<dc:creator>Melinda</dc:creator>
		<pubDate>Thu, 16 Dec 2010 03:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://techpulp.com/?p=18#comment-83</guid>
		<description>Alternate way to set accurate time is to use NTP servers available on internet. The command &quot;ntpdate&quot; can be used to synchronize time as shown below:

bash# ntpdate clock2.redhat.com clock.redhat.com
3 Jan 13:20:59 ntpdate[10754]: adjust time server 66.187.233.4 offset -0.024132 sec</description>
		<content:encoded><![CDATA[<p>Alternate way to set accurate time is to use NTP servers available on internet. The command &#8220;ntpdate&#8221; can be used to synchronize time as shown below:</p>
<p>bash# ntpdate clock2.redhat.com clock.redhat.com<br />
3 Jan 13:20:59 ntpdate[10754]: adjust time server 66.187.233.4 offset -0.024132 sec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neo</title>
		<link>http://www.techpulp.com/blog/2008/11/how-to-set-date-and-time-under-linux-using-command-line/#comment-82</link>
		<dc:creator>Neo</dc:creator>
		<pubDate>Thu, 16 Dec 2010 03:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://techpulp.com/?p=18#comment-82</guid>
		<description>There is another command “hwclock” that can display date and time stored in hardware clock (i.e CMOS clock).

[neo@techpulp ~]# hwclock –show
Thu 16 Dec 2010 08:54:38 AM IST -0.966849 seconds
[neo@techpulp ~]#

Generally the date and time set by &quot;date&quot; command automatically sets time in hardware clock as well.

However if you would like to manually synchronize hardware clock to UTC, you can run following command:

[neo@techpulp ~]# hwclock --systohc --utc
</description>
		<content:encoded><![CDATA[<p>There is another command “hwclock” that can display date and time stored in hardware clock (i.e CMOS clock).</p>
<p>[neo@techpulp ~]# hwclock –show<br />
Thu 16 Dec 2010 08:54:38 AM IST -0.966849 seconds<br />
[neo@techpulp ~]#</p>
<p>Generally the date and time set by &#8220;date&#8221; command automatically sets time in hardware clock as well.</p>
<p>However if you would like to manually synchronize hardware clock to UTC, you can run following command:</p>
<p>[neo@techpulp ~]# hwclock &#8211;systohc &#8211;utc</p>
]]></content:encoded>
	</item>
</channel>
</rss>

