{"id":1313,"date":"2026-01-12T21:30:31","date_gmt":"2026-01-12T21:30:31","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=1313"},"modified":"2026-01-12T21:30:31","modified_gmt":"2026-01-12T21:30:31","slug":"mwnci-uptime-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-uptime-function\/","title":{"rendered":"Mwnci uptime() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>uptime<strong>()<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>uptime()<\/i> function returns a hash containing integer values assigned to Day, Hour, Min, Sec, representing the amount of time the server has been running.<\/p>\n<h2>Example<\/h2>\n<pre>include(\"main\")\r\nUp=uptime()\r\nprintln(Up)\r\n\r\n{\"Day\": 29, \"Hour\": 3, \"Min\": 8, \"Sec\": 16}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax uptime() Description The uptime() function returns a hash containing integer values assigned to Day, Hour, Min, Sec, representing the amount of time the server has been running. Example include(&#8220;main&#8221;) Up=uptime() println(Up) {&#8220;Day&#8221;: 29, &#8220;Hour&#8221;: 3, &#8220;Min&#8221;: 8, &#8220;Sec&#8221;: 16}<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1313","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1313"}],"version-history":[{"count":2,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1313\/revisions"}],"predecessor-version":[{"id":1315,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1313\/revisions\/1315"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}