{"id":4156,"date":"2020-12-07T15:00:51","date_gmt":"2020-12-07T14:00:51","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=4156"},"modified":"2020-12-07T15:00:51","modified_gmt":"2020-12-07T14:00:51","slug":"formula-de-hoje-no-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/today-formula-google-sheets\/","title":{"rendered":"Como usar a fun\u00e7\u00e3o TODAY no Planilhas Google"},"content":{"rendered":"\n[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">The Google Sheets TODAY function returns the current date and time, based on the user\u2019s computer settings. It\u2019s a dynamic or \u201cvolatile\u201d Google Sheets function, meaning that it recalculates automatically.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The TODAY function is a useful way to keep dates in your spreadsheet current, regardless of when you first entered the date in your spreadsheet. It can also be combined with multiple other functions.<\/span><\/p>\n<h2>Syntax<\/h2>\n<p><span style=\"font-weight: 400;\">Unlike most other functions that Google Sheets offers, this one doesn\u2019t take in any input parameters. Trying to add them will result in an error.<\/span><\/p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; border_width_left=&#8221;4px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>=TODAY()<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<h3>How to use the TODAY function in Google Sheets<\/h3>\n<p><span style=\"font-weight: 400;\">This is one of the most straightforward functions available within Google Sheets.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can use it as a standalone function, or you can make this an input parameter to other existing functions as shown in the image below.<\/span><\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/11\/TODAY-function-in-Google-Sheets-1.png&#8221; alt=&#8221;TODAY function in Google Sheets 1&#8243; title_text=&#8221;TODAY function in Google Sheets 1&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">The first few examples show the TODAY function in its most basic form. By typing =TODAY() into a cell, you can get today\u2019s date.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For Google Sheets the unit of measure is days, meaning there is a direct correlation between days and whole numbers. This is a little abstract, but the important thing to understand is that you can make google sheets add days to date.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, to find out what is 365 days from today, you would simply add 365 to TODAY.<\/span><\/p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">=TODAY()+365<\/span><\/p>[\/et_pb_text][et_pb_text admin_label=&#8221;Connections T &#8211; Automate data transfers &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img  md2-contained-button-light vertical-banner-container&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#003999&#8243; max_width=&#8221;700px&#8221; module_alignment=&#8221;center&#8221; max_height=&#8221;300px&#8221; custom_margin=&#8221;20px|0px|20px|0px|true|true&#8221; custom_padding=&#8221;25px|25px|25px|25px|true|true&#8221; sticky_limit_bottom=&#8221;section&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#d9e7ff&#8221; global_module=&#8221;50468&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Add-on-sm_sheets-connected-new-connection.webp\" width=\"250\" height=\"168\" alt=\"\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Recommended-for-Google-Workspace-badge.webp\" width=\"150\" height=\"180\" alt=\"39\" \/><\/p>\n<p><span style=\"color: #ffffff; font-size: 22px; font-weight: 600;\">Automate data transfers beyond Importrange<\/span><\/p>\n<p><a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a><\/p>\n[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<h4>Combining TODAY with other functions<\/h4>\n<p>TODAY is pretty versatile and you can combine it with a few other functions to get different results. This is shown in the examples below.<\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/11\/TODAY-function-in-Google-Sheets-2.png&#8221; alt=&#8221;TODAY function in Google Sheets 2&#8243; title_text=&#8221;TODAY function in Google Sheets 2&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.<\/p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">=EOMONTH(TODAY(),1)<\/span><\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">EOMONTH stands for \u201cend of the month\u201d. This function returns the date of the last day in a month given a starting date and a month offset.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In simpler terms, the formula above returns the date of the end of next month. If this was used in January 2024, the formula would return the date \u201c02\/28\/2024\u201d.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I\u2019m using the TODAY function as the reference date, and the 1 instructs the function to offset the resulting month by 1.<\/span><\/p>\n<h4>EDATE<\/h4>\n<p><span style=\"font-weight: 400;\">Another good use of TODAY is within the EDATE function. This is similar to the previous function, but it gives you a date that is a specified number of months before or after a date.<\/span><\/p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><strong>=EDATE(TODAY(),-11)<\/strong><span>\u00a0<\/span><\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">The example above tells the function to return the date 11 months prior to today.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">Working days<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">The last function we will cover is NETWORKDAYS which gives you the net number of working days between two dates.<\/span><\/p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">=NETWORKDAYS(TODAY(), TODAY() + 31)<\/span><\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">The dates in the example are generated using the TODAY function \u2013 today\u2019s date, and the date 31 days from today.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The function tells me that there are 22 workdays (i.e. weekdays, with no weekends) between the two dates. This can be very useful for business planning purposes where weekends are generally not counted.<\/span><\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<h3>TODAY function vs. NOW function<\/h3>\n<p><span style=\"font-weight: 400;\">The TODAY function is great if you want to generate today\u2019s date. But what if your spreadsheet also needs to include the time?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can <\/span><b>get the current date and time in Google Sheets with the NOW function<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/11\/TODAY-function-in-Google-Sheets-3.png&#8221; alt=&#8221;TODAY function in Google Sheets 3&#8243; title_text=&#8221;TODAY function in Google Sheets 3&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><span style=\"font-weight: 400;\">This function lets you generate the current date and time, right to the second. The NOW function can be used as a more precise substitute for the TODAY function in all of the examples shown above.<\/span><\/p>[\/et_pb_text][et_pb_text admin_label=&#8221;Connections T &#8211; Automate beyond importrange &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img md2-contained-button-light vertical-banner-container&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#f2f7ff&#8221; max_width=&#8221;700px&#8221; module_alignment=&#8221;center&#8221; max_height=&#8221;300px&#8221; custom_margin=&#8221;20px|0px|20px|0px|true|true&#8221; custom_padding=&#8221;25px|25px|25px|25px|true|true&#8221; sticky_limit_bottom=&#8221;section&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#d9e7ff&#8221; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;50462&#8243; theme_builder_area=&#8221;post_content&#8221;]<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Add-on-sm_sheets-connected-new-connection.webp\" width=\"250\" height=\"168\" alt=\"\" \/>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Recommended-for-Google-Workspace-badge.webp\" width=\"150\" height=\"180\" alt=\"39\" \/>\n\n<span style=\"font-size: 22px; font-weight: 600;\">Automate data transfers beyond Importrange<\/span>\n\n<a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<h3>TODAY function: Key tips<\/h3>\n<p><span style=\"font-weight: 400;\">The TODAY function can be very handy when you use Google Sheets to store time-critical information.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As already mentioned, if the TODAY function displays 24-Oct-2020 now and you open the file one day from now, the function will show 25-Oct-2020.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Although this is the intended functionality of TODAY, there are two problems with this behavior:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>You don\u2019t want a \u201crunning\u201d date<\/b><span style=\"font-weight: 400;\">: If you want to insert the current date in a cell but don\u2019t want it to change, there is a shortcut for that, just press Ctrl + ; (semicolon) [Command + ; (semicolon) for Mac]. If this doesn\u2019t work, it\u2019s probably your keyboard configuration, hold down Ctrl and then button mash until you find it.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Poor Google Sheets performance<\/b><span>: Multiple TODAY functions within a spreadsheet may cause performance issues. Since this function is time-sensitive, Google Sheets recalculates the TODAY function very frequently and this results in an increased load.<\/span><\/li>\n<\/ol>\n<h4>Looking for more help using dates in Google Sheets?<\/h4>\n<p>Check out our other spreadsheet tutorials below or read how to use the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/year-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">YEAR function<\/a>\u00a0or how to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/calculate-the-differences-between-dates-in-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">calculate differences between dates<\/a> in Google Sheets.<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.22.2&#8243; background_color=&#8221;#f9f9ff&#8221; custom_margin=&#8221;40px||40px||false|false&#8221; custom_padding=&#8221;15px|25px|15px|25px|true|true&#8221; border_width_left=&#8221;3px&#8221; border_color_left=&#8221;#808e95&#8243; global_module=&#8221;26540&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p><em><strong>Editor\u2019s note<\/strong>: This is a revised version of a previous post that has been updated for accuracy and comprehensiveness.<\/em><\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>The Google Sheets TODAY function returns the current date and time, based on the user\u2019s computer settings. It\u2019s a dynamic or \u201cvolatile\u201d Google Sheets function, meaning that it recalculates automatically. The TODAY function is a useful way to keep dates in your spreadsheet current, regardless of when you first entered the date in your spreadsheet. [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":27671,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"In Google Sheets, the <a href=\"https:\/\/support.google.com\/docs\/answer\/3092984?hl=en\" target=\"_blank\" rel=\"noopener\">TODAY<\/a> formula returns the current date, as per the local date and time settings on the user's computer. For example, if a user from Australia used the TODAY formula at 6:00 AM AEST, and the output it returned is 25-Apr-2017. Then, a different user located in the United States of America using it at the exact same time will see the output as 24-Apr-2017.\n<h3>Syntax<\/h3>\n<span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>TODAY()<\/strong><\/span>\n\nNote: Unlike many other formulas that Google Sheets comes with, this one doesn't take in any input parameters. Trying to do so will certainly result in an error.\n<h3>Usage: Today Formula<\/h3>\nThis is one of the simplest and straightforward formulas available within Google Sheets. We can use this as a standalone formula, or we can me this an input parameter to other existing formulas as shown in the snapshot below.\n\n<img class=\"aligncenter size-full wp-image-4157\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-21.png\" alt=\"TODAY Formula - Illustration 1\" width=\"409\" height=\"243\" \/>\n\nThe TODAY formula can get very handy when we use Google Sheets to hold our time critical information. However, it is very important to understand that the formula will always represent the current date (from the last time the spreadsheet calculated formulas). And, it does not remain at the date it displayed when we first used it. So, for example, if the TODAY formula shows 24-Apr-2017 now. And if we open the file one day from now, the formula will show 25-Apr-2017. While that is how we expect it to work, there are two problems with this behavior.\n<ol>\n \t<li>This 'running' date may not be a desirable functionality for many users.\n<ul>\n \t<li>So, instead of a dynamic date, if we need a static current date to populate within a cell, all we need to do is press the key combination Ctrl + ; (semicolon) [ Command + ; (semicolon) for Mac]. Doing so will generate the current date that doesn't change every time the spreadsheet recalculates formulas.<\/li>\n<\/ul>\n<\/li>\n \t<li>Having many TODAY formulas within the spreadsheet may call for performance issues.\n<ul>\n \t<li>Google sheets don't calculate most of the other formulas as often as it does the TODAY formula. Since this one is time sensitive Google Sheets continuously ensures we always have current date information.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\nRead the blogpost \"<strong><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/year-formula-in-google-sheets\/\">How to use the YEAR formula in Google Sheets<\/a><\/strong>\" to learn more about a relevant formula.","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[55,39,28],"class_list":["post-4156","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-ben-collins","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/4156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=4156"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/4156\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/27671"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=4156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=4156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=4156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}