{"id":244,"date":"2020-11-19T22:18:42","date_gmt":"2020-11-19T22:18:42","guid":{"rendered":"http:\/\/localhost\/blog\/?p=244"},"modified":"2022-06-03T20:07:58","modified_gmt":"2022-06-03T19:07:58","slug":"esxi-shell-check-date-and-time","status":"publish","type":"post","link":"https:\/\/www.davidirwin.co.uk\/index.php\/2020\/11\/19\/esxi-shell-check-date-and-time\/","title":{"rendered":"ESXI Shell Check Date and Time"},"content":{"rendered":"<p>On the odd occasion that your host date and time is out you easily change it in the shell.<\/p>\n<p>Connect to your host remotely or at the console.<\/p>\n<p>type date and it will return the date and time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-90\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2022\/03\/esxicheckdateafter.png\" alt=\"\" width=\"240\" height=\"38\" \/><\/p>\n<p>On this server, the time was out by 2 hours.<\/p>\n<p>so I needed to run esxcli system time set.<\/p>\n<p>-H for Hour<br \/>\n-m for Minute<br \/>\n-M for Month<br \/>\n-s for Second<br \/>\n-y for Year<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-89\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2022\/03\/esxichangedate.png\" alt=\"\" width=\"513\" height=\"23\" \/><\/p>\n<p>check the date and time once you change it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-88\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2022\/03\/esxicheckdate.png\" alt=\"\" width=\"239\" height=\"34\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the odd occasion that your host date and time is out you easily change it in the shell. Connect to your host remotely or at the console. type date and it will return the date and time. On this server, the time was out by 2 hours. so I needed to run esxcli system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-esxi"],"_links":{"self":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":5,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":353,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/244\/revisions\/353"}],"wp:attachment":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}