{"id":178695,"date":"2025-10-28T15:16:29","date_gmt":"2025-10-28T06:16:29","guid":{"rendered":"https:\/\/support.questetra.com\/?p=178695"},"modified":"2025-10-28T15:24:09","modified_gmt":"2025-10-28T06:24:09","slug":"qdate-increment-date-2025","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/deco\/qdate-increment-date-2025\/","title":{"rendered":"qDate: Increment Date"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ffc69b;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><strong>qDate: Increment Date<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ffc69b;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/en\/deco-ja\/qdate-increment-date-2025\/\"><span class=\"material-icons\">translate<\/span> qDate: \u65e5\u4ed8\u3092\u5897\u6e1b<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ffe5ce;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">Assists in inputting Date-type data items. You can increase or decrease the date using buttons such as &#8220;+1 day&#8221; and &#8220;-7 days.&#8221; The number of days from the present and the day of the week are also displayed, making it intuitive to check the date and preventing input errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Input \/ Output<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u21c6 DATE (DATE) <code>q_DueDate<\/code><\/li>\n\n\n\n<li>\u2192 <code>span#user_footnote_DueDate<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Code Example<\/span><\/h3>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title has-background\" style=\"background-color:#ffe5ce\">HTML\/JavaScript (click to close)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\" style=\"border-color:#ffe5ce\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;button type=&#39;button&#39; onclick=&#39;user_addYmdQDate( &quot;q_DueDate&quot;, 0, 0, -7 );&#39;&gt;-7d&lt;\/button&gt;\n&lt;button type=&#39;button&#39; onclick=&#39;user_addYmdQDate( &quot;q_DueDate&quot;, 0, 0, -1 );&#39;&gt;-1d&lt;\/button&gt;\n&lt;button type=&#39;button&#39; onclick=&#39;user_addYmdQDate( &quot;q_DueDate&quot;, 0, 0, 1 );&#39;&gt;+1d&lt;\/button&gt;\n&lt;button type=&#39;button&#39; onclick=&#39;user_addYmdQDate( &quot;q_DueDate&quot;, 0, 0, 7 );&#39;&gt;+7d&lt;\/button&gt;\n&lt;span id=&quot;user_footnote_DueDate&quot;&gt;&lt;\/span&gt;\n\n&lt;style&gt;\n\/* A dark background and white text create a modern look *\/\n\/* \u6697\u3044\u80cc\u666f\u8272\u3068\u767d\u3044\u6587\u5b57\u3067\u30e2\u30c0\u30f3\u306a\u5370\u8c61\u306b *\/\n#user_footnote_DueDate span {\n  padding: 2px 6px;\n  border-radius: 4px;\n  font-size: 0.9em;\n  font-weight: bold;\n  color: #FFF;\n}\n.user_footnote_future { background-color: #26A69A; }\n.user_footnote_soon   { background-color: #66BB6A; }\n.user_footnote_today  { background-color: #FFD54F; color: #333; }\n.user_footnote_past   { background-color: #EF5350; }\n&lt;\/style&gt;\n\n&lt;script&gt;\n\/\/\/ https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/4406943475097-R2132#event-handler\n\/\/ Turn on the function that run when...\nqbpms.form.on(&#39;ready&#39;,               user_setFootnote_DueDate); \/\/ the page is ready (loaded)\nqbpms.form.on(&#39;change&#39;, &#39;q_DueDate&#39;, user_setFootnote_DueDate); \/\/ the input-form is changed.\n\n\n\/**\n * Calculate the time remaining until the due date and display it in a footnote\n * \u671f\u65e5\u307e\u3067\u306e\u6b8b\u308a\u6642\u9593\u3092\u8a08\u7b97\u3057\u3001\u30d5\u30c3\u30c8\u30ce\u30fc\u30c8\u306b\u8868\u793a\u3059\u308b\u95a2\u6570\n *\/\nfunction user_setFootnote_DueDate() {\n  const dateTarget = qbpms.form.get(&quot;q_DueDate&quot;);         \/\/ \u2605\u2605\u2605 EDIT FieldName \u2605\u2605\u2605\n  const elFootnote = document.querySelector(&#39;#user_footnote_DueDate&#39;);\n  if (!dateTarget || !elFootnote) {\n    if (elFootnote) elFootnote.innerHTML = &quot;&quot;;\n    return;\n  }\n  const now = new Date();\n  now.setHours(0, 0, 0, 0);\n  const targetDate = new Date(dateTarget.getTime());\n  targetDate.setHours(0, 0, 0, 0);\n  const diffDays = (targetDate.getTime() - now.getTime()) \/ (1000 * 60 * 60 * 24);\n  const dayOfWeekStr = [&#39;\u65e5&#39;, &#39;\u6708&#39;, &#39;\u706b&#39;, &#39;\u6c34&#39;, &#39;\u6728&#39;, &#39;\u91d1&#39;, &#39;\u571f&#39;][dateTarget.getDay()];\n  let content = &#39;&#39;;\n  let className = &#39;&#39;;\n  if (diffDays &gt;= 2) {\n    className = &#39;user_footnote_future&#39;;\n    content = `${diffDays}\u65e5\u5f8c (${dayOfWeekStr})`;\n  } else if (diffDays === 1) {\n    className = &#39;user_footnote_soon&#39;;\n    content = `\u660e\u65e5 (${dayOfWeekStr})`;\n  } else if (diffDays === 0) {\n    className = &#39;user_footnote_today&#39;;\n    content = `\u4eca\u65e5 (${dayOfWeekStr})`;\n  } else if (diffDays === -1) {\n    className = &#39;user_footnote_past&#39;;\n    content = `\u6628\u65e5 (${dayOfWeekStr})`;\n  } else if (diffDays === -2) {\n    className = &#39;user_footnote_past&#39;;\n    content = `\u4e00\u6628\u65e5 (${dayOfWeekStr})`;\n  } else {\n    className = &#39;user_footnote_past&#39;;\n    content = `${Math.abs(diffDays)}\u65e5\u524d (${dayOfWeekStr})`;\n  }\n  elFootnote.innerHTML = `&lt;span class=&quot;${className}&quot;&gt;${content}&lt;\/span&gt;`;\n}\n\n\/**\n * Increments or decrements the date\n * \u6307\u5b9a\u3055\u308c\u305f\u30c7\u30fc\u30bf\u9805\u76ee\u306e\u65e5\u4ed8\u3092\u5897\u6e1b\u3055\u305b\u308b\u95a2\u6570\n *\/\nfunction user_addYmdQDate(qfieldName, numY, numM, numD, numHour = 0, numMin = 0) {\n  let dateTmp = qbpms.form.get(qfieldName);\n  if (dateTmp === null) { return; }\n  dateTmp.setFullYear(dateTmp.getFullYear() + numY);\n  dateTmp.setMonth(dateTmp.getMonth() + numM);\n  dateTmp.setDate(dateTmp.getDate() + numD);\n  dateTmp.setHours(dateTmp.getHours() + numHour);\n  dateTmp.setMinutes(dateTmp.getMinutes() + numMin);\n  qbpms.form.set(qfieldName, dateTmp);\n  user_setFootnote_DueDate();\n}\n&lt;\/script&gt;<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"has-small-font-size\" style=\"text-align: right;\"><div style=\"display: inline-block; background: #FBE7DD; text-align: center;\">\n<span class=\"material-icons\">warning<\/span> Freely modifiable HTML\/JavaScript code, MIT License. No warranty of any kind.<br>\n(<em><strong>Decoration using JavaScript<\/strong><\/em> is only available in the <em><strong><span style=\"color: #1970B9\">Professional<\/span><\/strong><\/em> edition: <a href=\"https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002245252-M213\">M213<\/a>)\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Capture<\/span><\/h3>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6aa30ffe40744&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6aa30ffe40744\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"628\" data-attachment-id=\"178700\" data-permalink=\"https:\/\/support.questetra.com\/en\/deco\/qdate-increment-date-2025\/attachment\/qdate-increment-date-2025-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1200%2C628&amp;ssl=1\" data-orig-size=\"1200,628\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"qdate-increment-date-2025-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1024%2C536&amp;ssl=1\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=1200%2C628&#038;ssl=1\" alt=\"\" class=\"wp-image-178700\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=600%2C315&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=1024%2C536&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=768%2C402&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"178702\" data-permalink=\"https:\/\/support.questetra.com\/en\/deco\/qdate-increment-date-2025\/attachment\/qdate-increment-date-2025\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025.gif?fit=640%2C360&amp;ssl=1\" data-orig-size=\"640,360\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"qdate-increment-date-2025\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025.gif?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025.gif?resize=640%2C360&#038;ssl=1\" alt=\"\" class=\"wp-image-178702\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>See also<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"vatrhWMRdX\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/date-get-weekend-sunday-2021\/\">#Date: Get Weekend Sunday<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u201c#Date: Get Weekend Sunday\u201d \u2014 Questetra Support\" src=\"https:\/\/support.questetra.com\/en\/addons\/date-get-weekend-sunday-2021\/embed\/#?secret=GdNtUCFSbj#?secret=vatrhWMRdX\" data-secret=\"vatrhWMRdX\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Assists in inputting Date-type data items. You can increase or decrease the date using buttons such as &#8220;+1 day&#8221; and &#8220;-7 days.&#8221; The number of days from the present and the day of the week are also displayed, making it intuitive to check the date and preventing input errors.<\/p>\n","protected":false},"author":2,"featured_media":178700,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[3439],"tags":[],"faq_section":[],"class_list":["post-178695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deco"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1200%2C628&ssl=1",1200,628,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=600%2C315&ssl=1",600,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=768%2C402&ssl=1",768,402,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1024%2C536&ssl=1",1024,536,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1200%2C628&ssl=1",1200,628,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1200%2C628&ssl=1",1200,628,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=1200%2C628&ssl=1",1200,628,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=900%2C628&ssl=1",900,628,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=1200%2C628&ssl=1",1200,628,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=600%2C628&ssl=1",600,628,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=800%2C628&ssl=1",800,628,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1200%2C628&ssl=1",1200,628,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":0,"uagb_excerpt":"Assists in inputting Date-type data items. You can increase or decrease the date using buttons such as \"+1 day\" and \"-7 days.\" The number of days from the present and the day of the week are also displayed, making it intuitive to check the date and preventing input errors.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-Kub","jetpack-related-posts":[{"id":82721,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/","url_meta":{"origin":178695,"position":0},"title":"Let\u2019s Set a Deadline","author":"Peter Glover","date":"2021-10-07","format":false,"excerpt":"How to set the date and time when a Task will occur, and the deadline date when it must be completed.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":87623,"url":"https:\/\/support.questetra.com\/en\/addons\/two-datetimes-calculate-duration\/","url_meta":{"origin":178695,"position":1},"title":"Two Datetimes, Calculate Duration","author":"IMAMURA, Genichi","date":"2020-04-23","format":false,"excerpt":"Calculates the duration between datetime A and B to output as numerical value (days), numerical value (hours), numerical value (minutes), or string value (h:mm). If B is the past time, a minus sign will be added. Date type also available.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Two Datetimes, Calculate Duration","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/Two-Datetimes-Calculate-Duration-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/Two-Datetimes-Calculate-Duration-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/Two-Datetimes-Calculate-Duration-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/Two-Datetimes-Calculate-Duration-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/Two-Datetimes-Calculate-Duration-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":78739,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/receive-task-webhook\/","url_meta":{"origin":178695,"position":2},"title":"Receive Task (Webhook)","author":"Hirotaka NISHI","date":"2019-10-01","format":false,"excerpt":"Holds the token and awaits a webhook (HTTP request) at a specific URL. Advances the token when a webhook for the specified HTTP method is received. Capable of storing the received request body in a String-type Data Item. Also possible to return an HTTP response with Business Data inserted.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":79328,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/receive-task-form\/","url_meta":{"origin":178695,"position":3},"title":"Receive Task (form)","author":"Hirotaka NISHI","date":"2024-09-02","format":false,"excerpt":"Publishes a Web form when a token arrives and awaits input to the web form. Advances the token if there is an input to the web form. The Web form can be submitted by users who don't have an account for the Workflow platform. The user is notified of the\u2026","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-form-1200%C3%97675.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-form-1200%C3%97675.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-form-1200%C3%97675.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-form-1200%C3%97675.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-form-1200%C3%97675.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76747,"url":"https:\/\/support.questetra.com\/en\/templates\/daily-report-flow-weather-record-script-task-20210318\/","url_meta":{"origin":178695,"position":4},"title":"Daily report flow-weather record (Script Task)","author":"Hirotaka NISHI","date":"2021-03-18","format":false,"excerpt":"Submits a daily report to the supervisor to be checked at [2. Report Check\/Comment] Step. Automatically retrieves weather data of the day via API and records it.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/eye-catch-daily-report-flow-weather-record-script-task-20210318-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/eye-catch-daily-report-flow-weather-record-script-task-20210318-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/eye-catch-daily-report-flow-weather-record-script-task-20210318-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/eye-catch-daily-report-flow-weather-record-script-task-20210318-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/eye-catch-daily-report-flow-weather-record-script-task-20210318-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":79735,"url":"https:\/\/support.questetra.com\/en\/data-items\/date-type\/","url_meta":{"origin":178695,"position":5},"title":"Date-Type","author":"Peter Glover","date":"2024-09-02","format":false,"excerpt":"Displays a text field that accepts numeric values in a specified date format.","rel":"","context":"In &quot;Data Items&quot;","block_context":{"text":"Data Items","link":"https:\/\/support.questetra.com\/en\/category\/data-items\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Date.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Date.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Date.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Date.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Date.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/10\/qdate-increment-date-2025-en.png?fit=1200%2C628&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/178695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=178695"}],"version-history":[{"count":9,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/178695\/revisions"}],"predecessor-version":[{"id":178715,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/178695\/revisions\/178715"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/178700"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=178695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=178695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=178695"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=178695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}