{"id":2862,"date":"2015-11-18T16:59:11","date_gmt":"2015-11-18T07:59:11","guid":{"rendered":"https:\/\/www.climb.co.jp\/blog_dbmoto\/?p=2862"},"modified":"2015-11-18T16:59:11","modified_gmt":"2015-11-18T07:59:11","slug":"dbmoto%e6%95%b0%e5%80%a4%e5%9e%8b%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%81%ab%e5%85%a5%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8b%e6%97%a5%e6%99%82%e5%bd%a2%e5%bc%8f%e3%81%ae%e3%83%87%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/2862","title":{"rendered":"[DBMoto]\u6570\u5024\u578b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5165\u3063\u3066\u3044\u308b\u65e5\u6642\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3092\u65e5\u6642\u578b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u306b\u306f"},"content":{"rendered":"<p>DBMoto\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u3001\u304a\u5ba2\u69d8\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3054\u8cea\u554f\u3092\u3044\u305f\u3060\u304f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>\n\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5143\u3068\u306a\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3001\u6570\u5024\u578b\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u201d20151118\u201d\u3068\u3044\u3063\u305f\u5f62\u5f0f\u3067\u65e5\u4ed8\u30c7\u30fc\u30bf\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u30c7\u30fc\u30bf\u3092\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5148\u306b\u3042\u308b\u65e5\u4ed8\u578b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u9069\u5207\u306a\u5f62\u306b\u5909\u63db\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u53ef\u80fd\u3067\u3057\u3087\u3046\u304b\u3002\n<\/p><\/blockquote>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u306e\u7b54\u3048\u3067\u3059\u304c\u3001DBMoto\u6a19\u6e96\u6a5f\u80fd\u3067\u3042\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308c\u3070<b>\u5909\u63db\u53ef\u80fd<\/b>\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u4eca\u56de\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u8a2d\u5b9a\u3057\u305f\u95a2\u6570\u3092\u500b\u5225\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u30fb\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\uff09\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u306b\u3066\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u3092\u6848\u5185\u3044\u305f\u3057\u307e\u3059\u3002<br \/>\n\u203bVB\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<br \/>\n\u203b\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u9032\u3081\u308b\u305f\u3081\u306b\u306f\u3001\u307e\u305a\u306f\u4ee5\u4e0b\u306e\u5f0a\u793e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3092\u304a\u8aad\u307f\u3044\u305f\u3060\u304d\u307e\u3059\u3088\u3046\u3001\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/951\">\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u6642\u306e\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n<p>\u25a0\uff11\uff1a<br \/>\n\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304d\u3001GlobalScript\u30af\u30e9\u30b9\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u307e\u3059\u3002\u305d\u306e\u307e\u307e\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\n        Public Shared Function CONVERTNUMBERTODATE (objDate as Object) as Object             \r\n         If objDate Is Nothing OrElse objDate Is System.DBNull.Value Then\r\n               CONVERTNUMBERTODATE = System.DBNull.Value\r\n         Else \r\n               CONVERTNUMBERTODATE = new DateTime(Left(objDate.ToString(),4) , Mid(objDate.ToString(),5,2), Right(objDate.ToString(),2))\r\n         End if\r\n        End Function\r\n<\/pre>\n<p>\u25a0\uff12\uff1a<br \/>\n\u5404\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304b\u3089\u3001\u30de\u30c3\u30d4\u30f3\u30b0\u753b\u9762\u3092\u958b\u304d\u3001\u5bfe\u8c61\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u300c\u95a2\u6570\u3078\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u25a0\uff13\uff1a<br \/>\nCONVERTNUMBERTODATE\u95a2\u6570\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\uff1a<code>CONVERTNUMBERTODATE([DATETIME])<\/code><\/p>\n<p><a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2015\/11\/convertnumbertodate.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2015\/11\/convertnumbertodate.png\" alt=\"convertnumbertodate\" width=\"496\" height=\"523\" class=\"alignnone size-full wp-image-2869\" srcset=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2015\/11\/convertnumbertodate.png 496w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2015\/11\/convertnumbertodate-285x300.png 285w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a><\/p>\n<p>\u25a0\uff14\uff1a<br \/>\nOK\u3092\u62bc\u305b\u3070\u8a2d\u5b9a\u5b8c\u4e86\u3067\u3059\u3002\u5ff5\u306e\u305f\u3081\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<hr>\n<p>\u306a\u304a\u3001\u3053\u306e\u9006\u306b\u3001\u65e5\u6642\u578b\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30c7\u30fc\u30bf\u3092\u6570\u5024\u578b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u65e5\u6642\u5f62\u5f0f\u3067\u633f\u5165\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306eCONVERTDATETONUMBER\u95a2\u6570\u3092\u540c\u3058\u624b\u9806\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u203b\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u6642\u306e\u5834\u5408\u306f\u30b5\u30dd\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u3088\u308a\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\n        Public Shared Function CONVERTDATETONUMBER(objDate as Object) as Object\r\n         Dim dtDate as DateTime              \r\n         If objDate Is Nothing OrElse objDate Is System.DBNull.Value Then\r\n               CONVERTDATETONUMBER = System.DBNull.Value\r\n         Else \r\n               dtDate = objDate\r\n               CONVERTDATETONUMBER = dtDate.Year * 10000 + dtDate.Month * 100 + dtDate.Day           \r\n         End if\r\n        End Function       \r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>DBMoto\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u3001\u304a\u5ba2\u69d8\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3054\u8cea\u554f\u3092\u3044\u305f\u3060\u304f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5143\u3068\u306a\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3001\u6570\u5024\u578b\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u201d20151118\u201d\u3068\u3044\u3063\u305f\u5f62\u5f0f\u3067\u65e5\u4ed8\u30c7\u30fc\u30bf\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059 &hellip; <a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/2862\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[85],"class_list":["post-2862","post","type-post","status-publish","format-standard","hentry","category-syniti","tag-85"],"_links":{"self":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/2862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/comments?post=2862"}],"version-history":[{"count":10,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/2862\/revisions"}],"predecessor-version":[{"id":2873,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/2862\/revisions\/2873"}],"wp:attachment":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/media?parent=2862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/categories?post=2862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/tags?post=2862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}