{"type":"rich","author_url":"https://blog.hatena.ne.jp/kou_yeung/","provider_name":"Hatena Blog","image_url":null,"title":"\u3010Javascript\u3011Date.today()","provider_url":"https://hatena.blog","published":"2019-10-30 16:04:55","width":"100%","blog_url":"https://kou-yeung.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkou-yeung.hatenablog.com%2Fentry%2F2019%2F10%2F30%2F160455\" title=\"\u3010Javascript\u3011Date.today() - \u6d6e\u904a\u5cf6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"kou_yeung","url":"https://kou-yeung.hatenablog.com/entry/2019/10/30/160455","categories":[],"blog_title":"\u6d6e\u904a\u5cf6","description":"Javascript \u3067\u306f\u73fe\u5728\u306e\u65e5\u6642\u3092\u53d6\u5f97\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u307e\u3059\u3002 Date.now()C#\u306e DateTime.Today(\u6642\u523b\u90e8\u5206\u306f 00:00:00)\u304c\u6b32\u3057\u3044\u306e\u3067 \u66f8\u3044\u3066\u307f\u305f\u3002 Date.today = function(){ const res = new Date(); // memo // from javascript 1.4 // dateObj.setHours(hoursValue[, minutesValue[, secondsValue[, msValue]]]) // before javascript 1.3 : https://developer.mozilla.\u2026","height":"190","version":"1.0"}