{"id":379,"date":"2015-06-13T07:13:00","date_gmt":"2015-06-13T11:13:00","guid":{"rendered":"http:\/\/www.lektrikpuke.com\/blog\/?p=379"},"modified":"2015-06-16T23:19:03","modified_gmt":"2015-06-17T03:19:03","slug":"arrival-at-pluto","status":"publish","type":"post","link":"https:\/\/lektrikpuke.com\/blog\/2015\/06\/13\/arrival-at-pluto\/","title":{"rendered":"Arrival At Pluto"},"content":{"rendered":"<p>New Horizons is scheduled to arrive at the <strong>PLANET Pluto<\/strong> (don&#8217;t give me any of that dwarf or minor crap) on:<\/p>\n<p>select DATE_ADD(date(&#8216;2015-06-02&#8217;), INTERVAL 42 DAY) as &#8216;Arrival at Pluto&#8217;;<\/p>\n<p>Kind of sad that I thought it would be easier to write the query than count the days manually, huh?<\/p>\n<p>WordPress likes to help by adding weird apostrophes, so:<\/p>\n<p><code>select DATE_ADD(date('2015-06-02'), INTERVAL 42 DAY) as 'Arrival at Pluto';<\/code><\/p>\n<p>This yields 2015-07-14<\/p>\n","protected":false},"excerpt":{"rendered":"<p>New Horizons is scheduled to arrive at the PLANET Pluto (don&#8217;t give me any of that dwarf or minor crap) on: select DATE_ADD(date(&#8216;2015-06-02&#8217;), INTERVAL 42 DAY) as &#8216;Arrival at Pluto&#8217;; Kind of sad that I thought it would be easier &hellip; <a href=\"https:\/\/lektrikpuke.com\/blog\/2015\/06\/13\/arrival-at-pluto\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[148],"tags":[185,5,184,183,89,155],"class_list":["post-379","post","type-post","status-publish","format-standard","hentry","category-mysql-computer-stuff","tag-astronomy","tag-mysql","tag-planet","tag-pluto","tag-script","tag-sql-2"],"_links":{"self":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":4,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts\/379\/revisions\/384"}],"wp:attachment":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}