{"id":14,"date":"2017-11-12T21:30:16","date_gmt":"2017-11-13T03:30:16","guid":{"rendered":"https:\/\/tech.my-netsol.com\/?p=14"},"modified":"2017-11-12T21:30:16","modified_gmt":"2017-11-13T03:30:16","slug":"set-ntp-time-by-command-line","status":"publish","type":"post","link":"https:\/\/tech.my-netsol.com\/?p=14","title":{"rendered":"Set NTP Time by command line"},"content":{"rendered":"<p>Usage: systemsetup -settimezone &lt;timezone&gt;<br \/>\nSet current time zone to &lt;timezone&gt;. Use &#8220;-listtimezones&#8221; to list time zones.<\/p>\n<p>Usage: systemsetup -listtimezones<br \/>\nList time zones supported by this machine.<\/p>\n<p>Usage: systemsetup -getusingnetworktime<br \/>\nDisplay whether network time is on or off.<\/p>\n<p>Usage: systemsetup -setusingnetworktime &lt;on off&gt;<br \/>\nSet using network time to either &lt;on&gt; or &lt;off&gt;.<\/p>\n<p>Usage: systemsetup -getnetworktimeserver<br \/>\nDisplay network time server.<\/p>\n<p>Usage: systemsetup -setnetworktimeserver &lt;timeserver&gt;<br \/>\nSet network time server to &lt;timeserver&gt;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usage: systemsetup -settimezone &lt;timezone&gt; Set current time zone to &lt;timezone&gt;. Use &#8220;-listtimezones&#8221; to list time zones. Usage: systemsetup -listtimezones List time zones supported by this machine. Usage: systemsetup -getusingnetworktime Display whether network time is on or off. Usage: systemsetup -setusingnetworktime &lt;on off&gt; Set using network time to either &lt;on&gt; or &lt;off&gt;. Usage: systemsetup -getnetworktimeserver Display &#8230; <a title=\"Set NTP Time by command line\" class=\"read-more\" href=\"https:\/\/tech.my-netsol.com\/?p=14\" aria-label=\"Read more about Set NTP Time by command line\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-macos"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}