{"id":121,"date":"2010-12-13T09:23:37","date_gmt":"2010-12-13T09:23:37","guid":{"rendered":"http:\/\/test.bleuanus.nl\/index.php\/private\/playonhd\/set-date-and-time\/"},"modified":"2018-12-11T16:09:10","modified_gmt":"2018-12-11T15:09:10","slug":"set-date-and-time","status":"publish","type":"post","link":"https:\/\/www.bleuanus.nl\/index.php\/2010\/12\/13\/set-date-and-time\/","title":{"rendered":"Set date and time"},"content":{"rendered":"<p class=\"last-modified\">This post was most recently updated on December 11th, 2018<\/p><p>You can <span class=\"posthilit\">set<\/span> the <span class=\"posthilit\">time<\/span> <span class=\"posthilit\">using<\/span> a <span class=\"posthilit\">telnet<\/span> to your box.<br \/>Login as root with no password<br \/>then you can use : date -?<\/p>\n<p>and you se the syntax of the command:<\/p>\n<p>Usage: date [OPTION]&#8230; [MMDDhhmm [+FORMAT]<\/p>\n<p>Displays the current <span class=\"posthilit\">time<\/span> in the given FORMAT, or sets the system date.<\/p>\n<p>Options:<br \/>-R Outputs RFC-822 compliant date string<br \/>-d STRING Displays <span class=\"posthilit\">time<\/span> described by STRING, not `now&#8217;<br \/>-I[TIMESPEC] Outputs an ISO-8601 compliant date\/<span class=\"posthilit\">time<\/span> string<br \/>TIMESPEC=`date&#8217; (or missing) for date only,<br \/>`hours&#8217;, `minutes&#8217;, or `seconds&#8217; for date and,<br \/><span class=\"posthilit\">time<\/span> to the indicated precision<br \/>-D hint Use &#8216;hint&#8217; as date format, via strptime()<br \/>-s Sets <span class=\"posthilit\">time<\/span> described by STRING<br \/>-r FILE Displays the last modification <span class=\"posthilit\">time<\/span> of FILE<br \/>-u Prints or sets Coordinated Universal <span class=\"posthilit\">Time<\/span><\/p>\n<p>Type: <\/p>\n<p>date -s 091519312009<\/p>\n<p>to <span class=\"posthilit\">set<\/span> the date and <span class=\"posthilit\">time<\/span> to Tue Sep 15 19:31:00 CST 2009<\/p>\n<p>after that set the hardware clock:<\/p>\n<p>hwclock -w<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post was most recently updated on December 11th, 2018You can set the time using a telnet to your box.Login as root with no passwordthen you can use : date -? and you se the syntax of the command: Usage: date [OPTION]&#8230; [MMDDhhmm [+FORMAT] Displays the current time in the given FORMAT, or sets the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-121","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":277,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/121\/revisions\/277"}],"wp:attachment":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}