{"id":1739,"date":"2017-05-19T11:49:45","date_gmt":"2017-05-19T03:49:45","guid":{"rendered":"https:\/\/cowmanchiang.me\/wp\/?p=1739"},"modified":"2023-10-31T15:42:23","modified_gmt":"2023-10-31T07:42:23","slug":"linux-command-to-get-time-in-milliseconds","status":"publish","type":"post","link":"https:\/\/cowmanchiang.me\/wp\/?p=1739","title":{"rendered":"Linux command to get time in milliseconds"},"content":{"rendered":"<p>src: <a href=\"http:\/\/stackoverflow.com\/questions\/16548528\/linux-command-to-get-time-in-milliseconds\" target=\"_blank\" rel=\"noopener noreferrer\">Linux command to get time in milliseconds<\/a><\/p>\n<blockquote><p>date +&#8221;%T.%N&#8221; returns the current time with nanoseconds.<br \/>\ndate +&#8221;%T.%6N&#8221; returns the current time with nanoseconds rounded to the first 6 digits, which is microseconds.<br \/>\ndate +&#8221;%T.%3N&#8221; returns the current time with nanoseconds rounded to the first 3 digits, which is milliseconds.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>src: Linux command to get time in milliseconds date +&#8221;%T.%N&#8221; returns the current time with nanoseconds. date +&#8221;%T.%6N&#8221; returns the current time with nanoseconds rounded to the first 6 digits, which is microseconds. date +&#8221;%T.%3N&#8221; returns the current time with &hellip; <a href=\"https:\/\/cowmanchiang.me\/wp\/?p=1739\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-1739","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1739"}],"version-history":[{"count":2,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1739\/revisions"}],"predecessor-version":[{"id":1863,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1739\/revisions\/1863"}],"wp:attachment":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}