{"id":810,"date":"2022-01-14T13:49:17","date_gmt":"2022-01-14T13:49:17","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=810"},"modified":"2022-08-03T15:15:02","modified_gmt":"2022-08-03T15:15:02","slug":"date-add","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/date-add\/","title":{"rendered":"Date Add"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Adds&nbsp;and subtracts&nbsp;the specified number of time units to\/from the given date.&nbsp;May be used as an input for other <span style=\"color:#ec8f45;\">Date<\/span> operators or for <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/set-entity-attributes\/\">Set Entity Attributes<\/a> to update a field in a record.<\/p>\n\n\n<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p>Keep in mind when dealing with Time that in Sugar interface dates are displayed in the current users&#8217; TimeZone. In Logic Builder dates are as values from the database &#8211; in UTC format.<\/p>\n<\/div>\n\n\n<p><strong>inputs:&nbsp;<\/strong><\/p>\n\n\n\n<p><span style=\"color:#64c6ca;\">date<\/span> &#8211; input the date or date and time value, to which to add or from which to subtract a certain number of units.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#b197cb;\">number<\/span> &#8211; input in the operator or link units to be added (when positive value) or substracted (when value is negative)<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#9ed267;\">units<\/span> &#8211; select in the operator units of the number<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><strong>outputs:&nbsp;<\/strong><\/p>\n\n\n\n<p><span style=\"color:#64c6ca;\">result<\/span> &#8211;&nbsp; resulting date or date and time<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-63-7339e8a708b8475dbcad27da9d4761ec.png\" alt=\"\" class=\"wp-image-515\" width=\"695\" height=\"229\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-63-7339e8a708b8475dbcad27da9d4761ec.png 1025w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-63-7339e8a708b8475dbcad27da9d4761ec-300x99.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-63-7339e8a708b8475dbcad27da9d4761ec-768x253.png 768w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_810' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-810\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-e206b26f3e99b' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-e206b26f3e99b'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='810' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-e206b26f3e99b\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"810\" \n                               id=\"yasr-stats-dashicon-e206b26f3e99b\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-e206b26f3e99b\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-e206b26f3e99b\">0<\/span>  Average: <span id=\"yasr-vv-average-container-e206b26f3e99b\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-e206b26f3e99b' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-e206b26f3e99b' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Adds&nbsp;and subtracts&nbsp;the specified number of time units to\/from the given date.&nbsp;May be used as an input for other Date operators or for Set Entity Attributes to update a field in a record. Keep in mind when dealing with Time that in Sugar interface dates are displayed in the current users&#8217; TimeZone. In Logic Builder dates &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/date-add\/\"> <span class=\"screen-reader-text\">Date Add<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-810","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=810"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/810\/revisions"}],"predecessor-version":[{"id":2044,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/810\/revisions\/2044"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=810"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}