{"id":797,"date":"2022-01-14T12:59:49","date_gmt":"2022-01-14T12:59:49","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=797"},"modified":"2022-08-02T18:55:57","modified_gmt":"2022-08-02T18:55:57","slug":"current-date","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/current-date\/","title":{"rendered":"Current Datetime"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Returns the current datetime. It 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> (commonly in Datetime type of a field, but for text ones as well), as well in Emails Notifications.<\/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><strong>outputs:&nbsp;<\/strong><\/p>\n\n\n\n<p><span style=\"color:#64c6ca;\">value<\/span>&nbsp;&#8211; current date and time.&nbsp;&nbsp;<\/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-59-af4cbe92aa3b44bdbd20365a7e0f865c.png\" alt=\"\" class=\"wp-image-508\" width=\"581\" height=\"185\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-59-af4cbe92aa3b44bdbd20365a7e0f865c.png 816w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-59-af4cbe92aa3b44bdbd20365a7e0f865c-300x96.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-59-af4cbe92aa3b44bdbd20365a7e0f865c-768x245.png 768w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_797' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-797\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-e6098f7753798' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-e6098f7753798'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='797' \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-e6098f7753798\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"797\" \n                               id=\"yasr-stats-dashicon-e6098f7753798\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-e6098f7753798\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-e6098f7753798\">0<\/span>  Average: <span id=\"yasr-vv-average-container-e6098f7753798\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-e6098f7753798' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-e6098f7753798' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Returns the current datetime. It may be used as an input for other Date operators or for Set Entity Attributes (commonly in Datetime type of a field, but for text ones as well), as well in Emails Notifications. Keep in mind when dealing with Time that in Sugar interface dates are displayed in the current &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/current-date\/\"> <span class=\"screen-reader-text\">Current Datetime<\/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-797","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\/797","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=797"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/797\/revisions"}],"predecessor-version":[{"id":2041,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/797\/revisions\/2041"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}