{"id":783,"date":"2019-06-13T21:13:02","date_gmt":"2019-06-14T02:13:02","guid":{"rendered":"https:\/\/dillernet.com\/apple\/?p=783"},"modified":"2019-06-13T21:13:02","modified_gmt":"2019-06-14T02:13:02","slug":"setting-the-date-in-ultrix","status":"publish","type":"post","link":"https:\/\/dillernet.com\/apple\/2019\/06\/13\/setting-the-date-in-ultrix\/","title":{"rendered":"Setting the date in ULTRIX"},"content":{"rendered":"<p>Ultrix 4.5 has a Y2k problem- the date command cannot set any date with 00 as the year.<\/p>\n<p>However, ULTRIX itself has no problem using dates past 2000, you just have to trick it to set the date by jumping to the last second of each year, letting it roll over the year then doing that again, 19 times. A shell script makes it easier.<\/p>\n<p>\u00c2\u00a0<\/p>\n<pre>!#\/bin\/sh<br \/>date 9912312459.59<\/pre>\n<pre>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<br \/>date 12312359.59<br \/>sleep 5<br \/>date<\/pre>\n<p>Save and run that and you can have the right time in ULTRIX.<\/p>\n<p>\u00c2\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ultrix 4.5 has a Y2k problem- the date command cannot set any date with 00 as the year. However, ULTRIX itself has no problem using dates past 2000, you just have to trick it to set the date by jumping to the last second of each year, letting it roll over the year then doing [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[125,107],"tags":[],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-ultrix","category-unix"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3PE01-cD","jetpack-related-posts":[{"id":33,"url":"https:\/\/dillernet.com\/apple\/2005\/01\/01\/my-g5-is-fixed\/","url_meta":{"origin":783,"position":0},"title":"My G5 is Fixed","author":"admin","date":"January 1, 2005","format":false,"excerpt":"All the trouble, toil and worry that I've had with this new Apple G5 was finally solved by calling Apple, putting up with the BS of the first level techs, getting to a 2nd level and calmly trying to explain the issues with this damn thing rebooting on its own.\u2026","rel":"","context":"In &quot;Mac&quot;","block_context":{"text":"Mac","link":"https:\/\/dillernet.com\/apple\/category\/mac\/"},"img":{"alt_text":"G5.jpeg","src":"https:\/\/i0.wp.com\/dillernet.com\/blogs\/syncingmac\/images\/G5.jpeg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":134,"url":"https:\/\/dillernet.com\/apple\/2006\/10\/01\/macbook-rss-random-shutdown-syndrome\/","url_meta":{"origin":783,"position":1},"title":"MacBook: RSS &#8211; Random Shutdown Syndrome","author":"dillera","date":"October 1, 2006","format":false,"excerpt":"My Macbook suffered from RSS over a month and a half ago. After taking it into the nearest Apple Store, I had to wait about four days to get the MB and heat-sink repaired. It went to the depo and was shipped back to me. About two weeks ago it\u2026","rel":"","context":"In &quot;Mac&quot;","block_context":{"text":"Mac","link":"https:\/\/dillernet.com\/apple\/category\/mac\/"},"img":{"alt_text":"Images-1","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2006\/10\/images-1-tm.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":137,"url":"https:\/\/dillernet.com\/apple\/2006\/11\/18\/sprint-razr-v3m-and-isync\/","url_meta":{"origin":783,"position":2},"title":"Sprint Razr V3m and iSync","author":"dillera","date":"November 18, 2006","format":false,"excerpt":"I ordered a Razr V3m from Sprint last week since the krzr looks to be too fat, and the razr has a larger screen. The phone is nice but one of the most important features I've been lusting after is the ability to sync my contacts over using iSync and\u2026","rel":"","context":"In &quot;Mac&quot;","block_context":{"text":"Mac","link":"https:\/\/dillernet.com\/apple\/category\/mac\/"},"img":{"alt_text":"Sprintphones","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2006\/11\/sprintphones-tm.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":795,"url":"https:\/\/dillernet.com\/apple\/2019\/11\/27\/nas-near-death-experience-px4-300r\/","url_meta":{"origin":783,"position":3},"title":"NAS Near Death Experience &#8211;  PX4-300r","author":"dillera","date":"November 27, 2019","format":false,"excerpt":"\u00c2\u00a0I have a few different NAS in my home network, each used for different things. Having multiple ones also ensures when I have a problem I won't lose all my files in one go. Recently I was bit by a issue updating the firmware in my EMC NAS. I was\u2026","rel":"","context":"In &quot;NAS&quot;","block_context":{"text":"NAS","link":"https:\/\/dillernet.com\/apple\/category\/nas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":44,"url":"https:\/\/dillernet.com\/apple\/2005\/03\/02\/treo-650-my-buttons-broke\/","url_meta":{"origin":783,"position":4},"title":"Treo 650: My Buttons Broke","author":"admin","date":"March 2, 2005","format":false,"excerpt":"So Sprint has a big problem with replacement phones... namely, their replacement service sucks. You can spend $450 on a brand new Treo 650 and if it breaks the next day, you get a replacement Refurbed phone... not a new one. Not to mention that you wait about 2 days\u2026","rel":"","context":"In &quot;Palm&quot;","block_context":{"text":"Palm","link":"https:\/\/dillernet.com\/apple\/category\/palm\/"},"img":{"alt_text":"T650_buttons.jpg","src":"https:\/\/i0.wp.com\/dillernet.com\/blogs\/wp-syncingapple\/wp-content\/images\/T650_buttons.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":208,"url":"https:\/\/dillernet.com\/apple\/2007\/11\/12\/could-android-crush-iphone\/","url_meta":{"origin":783,"position":5},"title":"Could Android crush iPhone?","author":"dillera","date":"November 12, 2007","format":false,"excerpt":"I've never been happier with a device than I have been my my iPhone. However, there is one huge problem. You can't write your own software for it (this doesn't count) , or even hack some existing software that someone else wrote. OK, at least you can't do those things\u2026","rel":"","context":"In &quot;iPhone&quot;","block_context":{"text":"iPhone","link":"https:\/\/dillernet.com\/apple\/category\/iphone\/"},"img":{"alt_text":"ZZ5A24F854.jpg","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2007\/11\/zz5a24f854.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":1,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/783\/revisions\/784"}],"wp:attachment":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}