{"id":1095,"date":"2015-03-02T09:30:24","date_gmt":"2015-03-02T00:30:24","guid":{"rendered":"http:\/\/www.ktrick.com\/?p=1095"},"modified":"2015-03-02T04:28:04","modified_gmt":"2015-03-01T19:28:04","slug":"xpages-set-dete-only-time-only-field","status":"publish","type":"post","link":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/","title":{"rendered":"How to set &#8216;date only&#8217; or &#8216;time only&#8217; values in fields through XPages"},"content":{"rendered":"<p><\/p>\n<h2>XPages always save date and time in a field<\/h2>\n<p><strong>When a form has the fields with &#8220;date only&#8221; or &#8220;time only&#8221;, then the stored data format are different between Notes Client and XPages.<\/strong><\/p>\n<p>For example, I prepared the field with &#8220;date only&#8221; named &#8220;Date&#8221; as following (sorry, screenshots are all Japanese) :<\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-date-only.jpg\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1142 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-date-only-300x248.jpg\" alt=\"\u5e74\u6708\u65e5\u306e\u307f\u3092\u3082\u3064\u30d5\u30a3\u30fc\u30eb\u30c9\" width=\"300\" height=\"248\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-date-only-300x248.jpg 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-date-only.jpg 761w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/248;\" \/> <\/a><\/p>\n<p>And also field with &#8220;time only&#8221; named &#8220;Time&#8221;:<\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-time-only.jpg\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1143 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-time-only-300x250.jpg\" alt=\"\u6642\u523b\u306e\u8868\u793a\u306e\u307f\u3092\u3082\u3064\u30d5\u30a3\u30fc\u30eb\u30c9\" width=\"300\" height=\"250\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-time-only-300x250.jpg 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/field-time-only.jpg 758w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/250;\" \/><\/a><\/p>\n<p>Now I saved a new document with this form from Notes Client (9.0.1 FP3), then I got following fields&#8217; data.<\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-notesclient.png\"><img decoding=\"async\" class=\"aligncenter wp-image-1144 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-notesclient-300x99.png\" alt=\"Notes\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u65e5\u4ed8\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4fdd\u5b58\" width=\"600\" height=\"197\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-notesclient-300x99.png 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-notesclient.png 948w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/197;\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-notesclient.png\"><img decoding=\"async\" class=\"aligncenter wp-image-1147 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-notesclient-300x96.png\" alt=\"Notes\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u65e5\u4ed8\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4fdd\u5b58\" width=\"600\" height=\"193\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-notesclient-300x96.png 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-notesclient.png 949w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/193;\" \/><\/a><\/p>\n<p>As you see, &#8220;Date&#8221; field has &#8220;2015\/03\/02&#8243;, and Time field has&#8221;14:35:00&#8221;<\/p>\n<p>As the next, I created the simple XPage to save a new document with same form and fields so that I can compare the data between Notes Client and XPages.<\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/xpages-date-time-save.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1148 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/xpages-date-time-save-300x128.png\" alt=\"XPages\u3067\u65e5\u4ed8\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u4fdd\u5b58\" width=\"300\" height=\"128\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/xpages-date-time-save-300x128.png 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/xpages-date-time-save.png 564w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/128;\" \/><\/a><\/p>\n<p>Below is the source code for Date field and Time field in XPages.<\/p>\n<p><strong>Date Field<\/strong><\/p>\n[code lang=&#8221;xml&#8221; highlight=&#8221;&#8221;]\n\t&lt;xp:inputText value=&quot;#{document1.Date}&quot; id=&quot;date1&quot;&gt;<br \/>\n\t\t&lt;xp:dateTimeHelper id=&quot;dateTimeHelper1&quot;&gt;&lt;\/xp:dateTimeHelper&gt;<br \/>\n\t\t&lt;xp:this.converter&gt;<br \/>\n\t\t\t&lt;xp:convertDateTime type=&quot;date&quot; dateStyle=&quot;short&quot;&gt;<br \/>\n\t\t\t&lt;\/xp:convertDateTime&gt;<br \/>\n\t\t&lt;\/xp:this.converter&gt;<br \/>\n\t&lt;\/xp:inputText&gt;<br \/>\n[\/code]\n<p><strong>Time Field<br \/><\/strong><\/p>\n[code lang=&#8221;xml&#8221; highlight=&#8221;&#8221;]\n\t&lt;xp:inputText id=&quot;time1&quot; value=&quot;#{document1.Time}&quot;&gt;<br \/>\n\t\t&lt;xp:dateTimeHelper id=&quot;dateTimeHelper2&quot;&gt;&lt;\/xp:dateTimeHelper&gt;<br \/>\n\t\t&lt;xp:this.converter&gt;<br \/>\n\t\t\t&lt;xp:convertDateTime type=&quot;time&quot; timeStyle=&quot;short&quot;<br \/>\n\t\t\t\ttimeZone=&quot;Japan&quot;&gt;<br \/>\n\t\t\t&lt;\/xp:convertDateTime&gt;<br \/>\n\t\t&lt;\/xp:this.converter&gt;<br \/>\n\t&lt;\/xp:inputText&gt;<br \/>\n[\/code]\n<p>Each inputText specify date, time to the Type attribute of convertDateTime.<\/p>\n<p>After saving a new document from this XPage, below is the screenshot of stored field data:<\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-from-xpages.png\"><img decoding=\"async\" class=\"aligncenter wp-image-1151 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-from-xpages-300x117.png\" alt=\"XPages\u304b\u3089\u4fdd\u5b58\u3055\u308c\u305f\u6587\u66f8\u306eDate\u30d5\u30a3\u30fc\u30eb\u30c9\" width=\"600\" height=\"234\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-from-xpages-300x117.png 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/date-save-from-xpages.png 832w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/234;\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-from-xpages.png\"><img decoding=\"async\" class=\"aligncenter wp-image-1152 lazyload\" data-src=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-from-xpages-300x99.png\" alt=\"XPages\u304b\u3089\u4fdd\u5b58\u3055\u308c\u305f\u6587\u66f8\u306eTime\u30d5\u30a3\u30fc\u30eb\u30c9\" width=\"600\" height=\"199\" data-srcset=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-from-xpages-300x99.png 300w, https:\/\/www.ktrick.com\/wp-content\/uploads\/2015\/03\/time-save-from-xpages.png 970w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/199;\" \/><\/a><\/p>\n<p>So both of fields have &#8220;yyyy\/MM\/dd hh:mm:dd ZZ&#8221; format.<\/p>\n<h2>Why you need to save &#8220;date only&#8221; or &#8220;time only&#8221; data from XPages\uff1f<\/h2>\n<p>I just don&#8217;t post this blog to argue which format is proper way and why XPages behaves differently.<\/p>\n<p>In the real world, I think you or your customers already have the NSF apps and you may want to improve them as the web application by XPages. In that case, especially you decide to keep using the NSF from both Notes Client and XPages, then I recommend to adjust the field format to Notes Client one instead of XPages one so that all existing documents are supported both Notes Client and XPages without changing data.<\/p>\n<h2>Use setAnyTime()\u3001setAnyDate() of NotesDateTime class<\/h2>\n<p>Maybe there are a lot of way to achieve what I want below. But one of easy way is using NotesDateTime class of SSJS.<\/p>\n[code lang=&#8221;xml&#8221; highlight=&#8221;6,8&#8243;]\n\t&lt;xp:this.data&gt;<br \/>\n\t\t&lt;xp:dominoDocument var=&quot;document1&quot; formName=&quot;Form&quot;<br \/>\n\t\t\tcomputeWithForm=&quot;both&quot;&gt;<br \/>\n\t\t\t&lt;xp:this.postSaveDocument&gt;&lt;![CDATA[#{javascript:<br \/>\nvar dt:NotesDateTime = document1.getItemValueDateTime(&quot;Date&quot;);<br \/>\ndt.setAnyTime();<br \/>\nvar tm:NotesDateTime = document1.getItemValueDateTime(&quot;Time&quot;);<br \/>\ntm.setAnyDate();<br \/>\nvar notesDoc:NotesDocument = document1.getDocument();<br \/>\nnotesDoc.replaceItemValue(&quot;Date&quot;, dt);<br \/>\nnotesDoc.replaceItemValue(&quot;Time&quot;, tm);<br \/>\nnotesDoc.save();<br \/>\ndt.recycle();<br \/>\ntm.recycle();<br \/>\nnotesDoc.recycle();<br \/>\n}]]&gt;&lt;\/xp:this.postSaveDocument&gt;<br \/>\n\t\t&lt;\/xp:dominoDocument&gt;<br \/>\n\t&lt;\/xp:this.data&gt;<br \/>\n[\/code]\n<p>The SSJS above converts the DateTime field format by using setAnyTime()\u3001setAnyDate() in PostSaveDocument event after saving the XSP document .<\/p>\n<p>&nbsp;<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>XPages always save d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":718,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,26,28],"tags":[66,96,94],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b&quot;\u5e74\u6708\u65e5\u306e\u307f&quot;\u3001&quot;\u6642\u523b\u306e\u307f&quot;\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5How to set &#039;date only&#039; or &#039;time only&#039; values in fields through XPages | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b&quot;\u5e74\u6708\u65e5\u306e\u307f&quot;\u3001&quot;\u6642\u523b\u306e\u307f&quot;\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5How to set &#039;date only&#039; or &#039;time only&#039; values in fields through XPages | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\" \/>\n<meta property=\"og:description\" content=\"XPages always save d [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\" \/>\n<meta property=\"og:site_name\" content=\"XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ktrickLLC\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-02T00:30:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-01T19:28:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2013\/12\/xpage-icon.png\" \/>\n\t<meta property=\"og:image:width\" content=\"134\" \/>\n\t<meta property=\"og:image:height\" content=\"90\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tatsuki Kazunori\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KtrickL\" \/>\n<meta name=\"twitter:site\" content=\"@KtrickL\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tatsuki Kazunori\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\"},\"author\":{\"name\":\"Tatsuki Kazunori\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54\"},\"headline\":\"How to set &#8216;date only&#8217; or &#8216;time only&#8217; values in fields through XPages\",\"datePublished\":\"2015-03-02T00:30:24+00:00\",\"dateModified\":\"2015-03-01T19:28:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\"},\"wordCount\":832,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/www.ktrick.com\/#organization\"},\"keywords\":[\"XPages\",\"Lotus Domino Designer\",\"XPages \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\"],\"articleSection\":[\"Notes\/Domino\",\"XPages \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\",\"Lotus Domino Designer\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\",\"url\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\",\"name\":\"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\\\"\u5e74\u6708\u65e5\u306e\u307f\\\"\u3001\\\"\u6642\u523b\u306e\u307f\\\"\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5How to set 'date only' or 'time only' values in fields through XPages | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"isPartOf\":{\"@id\":\"https:\/\/www.ktrick.com\/#website\"},\"datePublished\":\"2015-03-02T00:30:24+00:00\",\"dateModified\":\"2015-03-01T19:28:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/www.ktrick.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b&#8221;\u5e74\u6708\u65e5\u306e\u307f&#8221;\u3001&#8221;\u6642\u523b\u306e\u307f&#8221;\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ktrick.com\/#website\",\"url\":\"https:\/\/www.ktrick.com\/\",\"name\":\"XPages\u3001HCL Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"description\":\"HCL Notes\/Domino\u306e\u4fdd\u5b88\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304b\u3089\u30a2\u30d7\u30ea\u958b\u767a\u3001\u30af\u30e9\u30a6\u30c9\u904b\u7528\u307e\u3067\u5168\u3066\u3092\u30b5\u30dd\u30fc\u30c8\",\"publisher\":{\"@id\":\"https:\/\/www.ktrick.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ktrick.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ktrick.com\/#organization\",\"name\":\"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"url\":\"https:\/\/www.ktrick.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png\",\"contentUrl\":\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png\",\"width\":300,\"height\":300,\"caption\":\"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\"},\"image\":{\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ktrickLLC\",\"https:\/\/twitter.com\/KtrickL\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54\",\"name\":\"Tatsuki Kazunori\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g\",\"caption\":\"Tatsuki Kazunori\"},\"description\":\"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e CEO &amp; CTO\u3092\u3057\u3066\u3044\u307e\u3059\u3002 Notes\/Domino\u306e\u958b\u767a\u3092\u5f97\u610f\u3068\u3057\u307e\u3059\u304c\u3001 C++ \/ Java \/ PHP \/ Javascript \u306a\u3069\u306e\u8a00\u8a9e\u3092\u4f7f\u3063\u3066WEB\u30a2\u30d7\u30ea\u3001iPhone \/ Android \u30a2\u30d7\u30ea\u958b\u767a\u306a\u3069\u3092\u3057\u305f\u308a\u3057\u307e\u3059\u3002 XPages\u306e\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u3068\u30c6\u30f3\u30b7\u30e7\u30f3\u304c\u901a\u5e38\u306e1.25\u500d\u3050\u3089\u3044\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002 I am owner of KTrick Co., Ltd. and Notes\/Domino developer. HCL Ambassador (IBM Champion for 2015 - current). I am interested in web application development and preferred languages are Notes\/Domino, C++ \/ Java \/ PHP \/ Javascript.\",\"sameAs\":[\"http:\/\/www.ktrick.com\/wp\"],\"url\":\"https:\/\/www.ktrick.com\/en\/author\/ktatsuki\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\"\u5e74\u6708\u65e5\u306e\u307f\"\u3001\"\u6642\u523b\u306e\u307f\"\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5How to set 'date only' or 'time only' values in fields through XPages | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/","og_locale":"en_US","og_type":"article","og_title":"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\"\u5e74\u6708\u65e5\u306e\u307f\"\u3001\"\u6642\u523b\u306e\u307f\"\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5How to set 'date only' or 'time only' values in fields through XPages | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","og_description":"XPages always save d [&hellip;]","og_url":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/","og_site_name":"XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","article_publisher":"https:\/\/www.facebook.com\/ktrickLLC","article_published_time":"2015-03-02T00:30:24+00:00","article_modified_time":"2015-03-01T19:28:04+00:00","og_image":[{"width":134,"height":90,"url":"https:\/\/www.ktrick.com\/wp-content\/uploads\/2013\/12\/xpage-icon.png","type":"image\/png"}],"author":"Tatsuki Kazunori","twitter_card":"summary_large_image","twitter_creator":"@KtrickL","twitter_site":"@KtrickL","twitter_misc":{"Written by":"Tatsuki Kazunori","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#article","isPartOf":{"@id":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/"},"author":{"name":"Tatsuki Kazunori","@id":"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54"},"headline":"How to set &#8216;date only&#8217; or &#8216;time only&#8217; values in fields through XPages","datePublished":"2015-03-02T00:30:24+00:00","dateModified":"2015-03-01T19:28:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/"},"wordCount":832,"commentCount":4,"publisher":{"@id":"https:\/\/www.ktrick.com\/#organization"},"keywords":["XPages","Lotus Domino Designer","XPages \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a"],"articleSection":["Notes\/Domino","XPages \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a","Lotus Domino Designer"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/","url":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/","name":"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\"\u5e74\u6708\u65e5\u306e\u307f\"\u3001\"\u6642\u523b\u306e\u307f\"\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5How to set 'date only' or 'time only' values in fields through XPages | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","isPartOf":{"@id":"https:\/\/www.ktrick.com\/#website"},"datePublished":"2015-03-02T00:30:24+00:00","dateModified":"2015-03-01T19:28:04+00:00","breadcrumb":{"@id":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ktrick.com\/en\/xpages-set-dete-only-time-only-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.ktrick.com\/"},{"@type":"ListItem","position":2,"name":"XPages\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u306b&#8221;\u5e74\u6708\u65e5\u306e\u307f&#8221;\u3001&#8221;\u6642\u523b\u306e\u307f&#8221;\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.ktrick.com\/#website","url":"https:\/\/www.ktrick.com\/","name":"XPages\u3001HCL Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","description":"HCL Notes\/Domino\u306e\u4fdd\u5b88\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304b\u3089\u30a2\u30d7\u30ea\u958b\u767a\u3001\u30af\u30e9\u30a6\u30c9\u904b\u7528\u307e\u3067\u5168\u3066\u3092\u30b5\u30dd\u30fc\u30c8","publisher":{"@id":"https:\/\/www.ktrick.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ktrick.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ktrick.com\/#organization","name":"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","url":"https:\/\/www.ktrick.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png","contentUrl":"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png","width":300,"height":300,"caption":"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e"},"image":{"@id":"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ktrickLLC","https:\/\/twitter.com\/KtrickL"]},{"@type":"Person","@id":"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54","name":"Tatsuki Kazunori","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ktrick.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g","caption":"Tatsuki Kazunori"},"description":"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e CEO &amp; CTO\u3092\u3057\u3066\u3044\u307e\u3059\u3002 Notes\/Domino\u306e\u958b\u767a\u3092\u5f97\u610f\u3068\u3057\u307e\u3059\u304c\u3001 C++ \/ Java \/ PHP \/ Javascript \u306a\u3069\u306e\u8a00\u8a9e\u3092\u4f7f\u3063\u3066WEB\u30a2\u30d7\u30ea\u3001iPhone \/ Android \u30a2\u30d7\u30ea\u958b\u767a\u306a\u3069\u3092\u3057\u305f\u308a\u3057\u307e\u3059\u3002 XPages\u306e\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u3068\u30c6\u30f3\u30b7\u30e7\u30f3\u304c\u901a\u5e38\u306e1.25\u500d\u3050\u3089\u3044\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002 I am owner of KTrick Co., Ltd. and Notes\/Domino developer. HCL Ambassador (IBM Champion for 2015 - current). I am interested in web application development and preferred languages are Notes\/Domino, C++ \/ Java \/ PHP \/ Javascript.","sameAs":["http:\/\/www.ktrick.com\/wp"],"url":"https:\/\/www.ktrick.com\/en\/author\/ktatsuki\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts\/1095"}],"collection":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/comments?post=1095"}],"version-history":[{"count":14,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts\/1095\/revisions"}],"predecessor-version":[{"id":1157,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts\/1095\/revisions\/1157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/media\/718"}],"wp:attachment":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/media?parent=1095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/categories?post=1095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/tags?post=1095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}