{"id":3430,"date":"2011-11-01T08:57:51","date_gmt":"2011-10-31T23:57:51","guid":{"rendered":"http:\/\/tsu\/?p=3430"},"modified":"2011-11-01T08:57:51","modified_gmt":"2011-10-31T23:57:51","slug":"gettime-hsp","status":"publish","type":"post","link":"https:\/\/www.hpymt.net\/tsu\/gettime-hsp\/","title":{"rendered":"HSP\uff1a\u6642\u9593\u306e\u53d6\u5f97(gettime)"},"content":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u4f5c\u6210\u306b\u304a\u3044\u3066\u826f\u304f\u5229\u7528\u3055\u308c\u308b\u65e5\u4ed8\u3084\u6642\u9593\u306e\u8868\u793a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u65e5\u4ed8\u30fb\u6642\u523b\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001HSP\u3067\u306f\u3001 <span style=\"color: #ff0000;\">gettime<\/span>\u95a2\u6570\u3068\u3044\u3046\u3082\u306e\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u66f8\u5f0f\u306f\u3001\uff11\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3059\u3002\u3000<span style=\"color: #ff0000;\">gettime(p1)<\/span><\/p>\n<p>p1\u306b\u306f\u3001\u53d6\u5f97\u3059\u308b\u30bf\u30a4\u30d7\u3068\u3057\u3066\u30010\u304b\u30897\u307e\u3067\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>\u5e74(Year)<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u6708(Month)<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u66dc\u65e5(DayOfWeek)<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u65e5(Day)<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>\u6642(Hour)<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>\u5206(Minute)<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>\u79d2(Second)<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>\u30df\u30ea\u79d2(Milliseconds)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u305f\u3068\u3048\u3070\u3001<span style=\"color: #ff0000;\">mes gettime(1)<\/span> \u3068\u5165\u529b\u3057\u3001\u5b9f\u884c\u3059\u308b\u3068\u3001<span style=\"color: #3366ff;\">\u4eca\u6708\u306e\u6570\u5b57<\/span>\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\uff0811\u67081\u65e5\u3067\u3042\u308c\u3070\u300111\u304c\u8868\u793a\uff09<\/p>\n<p>\u901a\u5e38\u3001\u5e74\u30fb\u6708\u30fb\u65e5\u306a\u3069\u3092\u4ed8\u3051\u3066\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001<\/p>\n<p>mes &#8220;&#8221; + gettime(1) + &#8220;\u6708&#8221;<\/p>\n<p>\u3082\u3057\u304f\u306f\u3001\u3000mes str(gettime(1)) + &#8220;\u6708&#8221;<br \/>\n\u306e\u3088\u3046\u306b\u3001str \u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u306b\u5909\u63db\u3057\u3066\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>week \u306f<span style=\"color: #ff0000;\">\u914d\u5217<\/span>\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306e1\u884c\u76ee\u306e\u3088\u3046\u306b\u3001<br \/>\n&#8220;\u65e5&#8221;\u304b\u3089&#8221;\u571f&#8221;\u307e\u3067\u5165\u529b\u3057\u3066\u304a\u304f\u3068\u3001<br \/>\n\u305d\u308c\u305e\u308c\u306b\u3001<span style=\"color: #ff0000;\">0\u304b\u30896\u307e\u3067<\/span>\u306e\u6570\u5b57\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\">mes week(1)<br \/>\n<\/span>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6708 \u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001week(1) \u3068\u6570\u5b57\u3092\u6307\u5b9a\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001<br \/>\nweek( <span style=\"color: #ff0000;\">gettime(2)<\/span> ) \u3068\u3057\u3066\u3001<br \/>\n\u5b9f\u884c\u3055\u308c\u305f\u66dc\u65e5\u3092\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u6841\u3092\u305d\u308d\u3048\u3066\u304d\u308c\u3044\u306b\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b <span style=\"color: #ff0000;\">strf\u00a0<\/span>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u6642\u9593\u8868\u793a\u306e\u30b5\u30f3\u30d7\u30eb<\/strong><br \/>\n<img decoding=\"async\" src=\"..\/0semi-c\/pic-time\/time1.png\" alt=\"\u6642\u9593\u306e\u8868\u793a\" \/><\/p>\n<p><strong>\u5b9f\u884c\u753b\u9762<\/strong><br \/>\n<img decoding=\"async\" src=\"..\/0semi-c\/pic-time\/time1result.png\" alt=\"\u753b\u9762\u2010\u6642\u9593\u306e\u8868\u793a\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u4f5c\u6210\u306b\u304a\u3044\u3066\u826f\u304f\u5229\u7528\u3055\u308c\u308b\u65e5\u4ed8\u3084\u6642\u9593\u306e\u8868\u793a\u65b9\u6cd5\u3067\u3059\u3002 \u65e5\u4ed8\u30fb\u6642\u523b\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001HSP\u3067\u306f\u3001 gettime\u95a2\u6570\u3068\u3044\u3046\u3082\u306e\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u66f8\u5f0f\u306f\u3001\uff11\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3059\u3002\u3000gettim\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.hpymt.net\/tsu\/gettime-hsp\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45,10,14,16],"tags":[107,147,151,233],"class_list":["post-3430","post","type-post","status-publish","format-standard","hentry","category-ensyu-c","category-lecture","category-pctips","category-software","tag-hsp","tag-programming","tag-script","tag-c"],"_links":{"self":[{"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/posts\/3430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/comments?post=3430"}],"version-history":[{"count":0,"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/posts\/3430\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/media?parent=3430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/categories?post=3430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpymt.net\/tsu\/wp-json\/wp\/v2\/tags?post=3430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}