{"id":1392,"date":"2023-08-24T13:03:17","date_gmt":"2023-08-24T12:03:17","guid":{"rendered":"https:\/\/ibex.tech\/c\/?p=1392"},"modified":"2023-08-24T16:11:50","modified_gmt":"2023-08-24T15:11:50","slug":"datetime-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/c\/c\/datetime\/datetime-general","title":{"rendered":".DateTime General"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n#include &lt;time.h&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Basics<\/h4>\n\n\n\n<p>A time_t object is a raw system time value (typically seconds since 00:00, Jan 1 1970 UTC)<\/p>\n\n\n\n<p>A struct tm lets you work with days, hours, mins etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Basics A time_t object is a raw system time value (typically seconds since 00:00, Jan 1 1970 UTC) A struct tm lets you work with days, hours, mins etc.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[118],"tags":[],"class_list":["post-1392","post","type-post","status-publish","format-standard","hentry","category-datetime"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/1392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/comments?post=1392"}],"version-history":[{"count":13,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/1392\/revisions"}],"predecessor-version":[{"id":1431,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/1392\/revisions\/1431"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/media?parent=1392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/categories?post=1392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/tags?post=1392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}