{"id":501052,"date":"2022-10-14T19:00:00","date_gmt":"2022-10-14T16:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/13-google-sheets-date-and-time-functions-you-need-to-know\/"},"modified":"2022-10-14T19:00:00","modified_gmt":"2022-10-14T16:00:00","slug":"13-google-sheets-date-and-time-functions-you-need-to-know","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/","title":{"rendered":"#13 Google Sheets Date and Time Functions You Need to Know"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a24960965826\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a24960965826\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#%E2%80%9C13_Google_Sheets_Date_and_Time_Functions_You_Need_to_Know%E2%80%9D\" >&#8220;13 Google Sheets Date and Time Functions You Need to Know&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Find_the_Day_Month_or_Year_From_a_Date\" >Find the Day, Month, or Year From a Date<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Get_the_Hours_Minutes_or_Seconds_From_a_Time\" >Get the Hours, Minutes, or Seconds From a Time<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Combine_Cells_to_Create_a_Date_or_Time\" >Combine Cells to Create a Date or Time<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Count_the_Number_of_Days_Months_or_Years_Between_Dates\" >Count the Number of Days, Months, or Years Between Dates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Calculate_the_Number_of_Workdays_Between_Dates\" >Calculate the Number of Workdays Between Dates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Find_the_Date_After_a_Number_of_Workdays\" >Find the Date After a Number of Workdays<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/buradabiliyorum.com\/en\/13-google-sheets-date-and-time-functions-you-need-to-know\/#Display_the_Current_Date_and_Time\" >Display the Current Date and Time<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9C13_Google_Sheets_Date_and_Time_Functions_You_Need_to_Know%E2%80%9D\"><\/span>&#8220;13 Google Sheets Date and Time Functions You Need to Know&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage alignnone size-full wp-image-731741\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/05\/google_sheets_her_1200x675.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"1200\" height=\"675\"\/><\/p>\n<p>When you use a spreadsheet for things where the timing is essential, you likely include dates and times. Google Sheets offers a collection of functions for formatting, converting, and calculating dates and times to help with your data entry.<\/p>\n<p>You might include dates for customer orders or budgeting and times for hours worked or time spent on a project. Because dates and times can come in all forms, you may need to manipulate these elements to display correctly in your sheet.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Find_the_Day_Month_or_Year_From_a_Date\"><\/span>Find the Day, Month, or Year From a Date<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You may have a list of birthdates, order dates, or similar where you want to extract only the day, month, or year. For this, you can use the same named functions: DAY, MONTH, and YEAR.<\/p>\n<p><strong>RELATED:<\/strong> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/723041\/how-to-change-the-default-date-format-in-google-sheets\/\"><strong><em>How to Change the Default Date Format in Google Sheets<\/em><\/strong><\/p>\n<p>The syntax for each is the same as <code>DAY(date)<\/code>, <code>MONTH(date)<\/code>, and <code>YEAR(date)<\/code> where the argument can be a cell reference, date, or number.<\/p>\n<p>Here, we have a date in cell D1 and use the following formulas to return the day, month, and year:<\/p>\n<pre>=DAY(D1)<\/pre>\n<pre>=MONTH(D1)<\/pre>\n<pre>=YEAR(D1)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830655\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/DayDate-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"DAY, MONTH, and YEAR for a date\" width=\"436\" height=\"123\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>As another example, we have our date formatted as a number within the formula:<\/p>\n<pre>=DAY(29418)<\/pre>\n<pre>=MONTH(29418)<\/pre>\n<pre>=YEAR(29418)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830656\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/DayNumber-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"DAY, MONTH, and YEAR for a number\" width=\"280\" height=\"123\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Get_the_Hours_Minutes_or_Seconds_From_a_Time\"><\/span>Get the Hours, Minutes, or Seconds From a Time<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Similar to getting parts of a date, you can obtain parts of a time. Using HOUR, MINUTE, and SECOND, you can get the hours, minutes, and seconds from a time entry.<\/p>\n<p>The syntax for each of these time functions is also the same as <code>HOUR(time)<\/code>, <code>MINUTE(time)<\/code>, and <code>SECOND(time)<\/code> where the argument can be a cell reference, time, or number.<\/p>\n<p>Here, we have a time in cell D1 and use these formulas to get the hours, minutes, and seconds.:<\/p>\n<pre>=HOUR(D1)<\/pre>\n<pre>=MINUTE(D1)<\/pre>\n<pre>=SECOND(D1)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830658\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/HourTime-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"HOUR, MINUTE, and SECOND for a time\" width=\"455\" height=\"121\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You can also enter a time into the formula within quotes and obtain your results with the following:<\/p>\n<pre>=HOUR(\"10:41:25\")<\/pre>\n<pre>=MINUTE(\"10:41:25\")<\/pre>\n<pre>=SECOND(\"10:41:25\")<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830657\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/HourTimeFormula-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"HOUR, MINUTE, and SECOND with the time in the formula\" width=\"310\" height=\"123\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Combine_Cells_to_Create_a_Date_or_Time\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_2\">Combine Cells to Create a Date or Time<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Maybe the dates and times in your sheet reside in separate cells. For example, you may have the day, month, and year for a date in three different cells or the hours, minutes, and seconds for a time in separate cells. You can combine the cells to create a complete date or time.<\/p>\n<p><strong>RELATED:<\/strong> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/787625\/how-to-create-a-custom-date-or-time-format-in-google-sheets\/\"><strong><em>How to Create a Custom Date or Time Format in Google Sheets<\/em><\/strong><\/p>\n<p>The syntax for each function\u2019s formula is <code>DATE(year, month, day)<\/code> and <code>TIME(hours, minutes, seconds)<\/code> noting the date formula requires the year first, then month and day.<\/p>\n<p>Using the following formula, you can combine cells A2, B2, and C2 to form a complete date:<\/p>\n<pre>=DATE(A2,B2,C2)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830659\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/DateCells-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Combine cells using DATE\" width=\"465\" height=\"110\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To assemble a date in the correct format, you can enter the year, month, and day in the formula like this:<\/p>\n<pre>=DATE(1996,11,4)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830660\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/DateFormula-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Date elements in the DATE formula\" width=\"325\" height=\"82\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>With this formula, you can combine cells A2, B2, and C2 to form a complete time:<\/p>\n<pre>=TIME(A2,B2,C2)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830661\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/TimeCells-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Combine cells using TIME\" width=\"463\" height=\"110\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To assemble a time in the correct format, you can enter the hours, minutes, and seconds in the formula as follows:<\/p>\n<pre>=TIME(11,23,14)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830662\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/TimeFormula-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Time elements in the TIME formula\" width=\"325\" height=\"82\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Count_the_Number_of_Days_Months_or_Years_Between_Dates\"><\/span>Count the Number of Days, Months, or Years Between Dates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>One way that you may want to work with dates in your sheet is to <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/447556\/count-the-days-between-two-dates-in-google-sheets\/\">find the number of days, months, or years between two dates. You can use the DATEDIF function to find one of these three units.<\/p>\n<p>The syntax for the function is <code>DATEDIF(start, end, unit)<\/code> where you\u2019ll enter the start and end dates in quotes or use cell references. For the <code>unit<\/code> argument, you\u2019ll enter a letter corresponding to the unit you want to find such as D for days, M for months, or Y for years, each in quotes.<\/p>\n<p>In this first example, we\u2019ll get the number of months between our dates in cells A2 and B2 with this formula:<\/p>\n<pre>=DATEDIF(A2,B2,\"M\")<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-830673 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/DatedifCells-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"DATEDIF with cell references\" width=\"400\" height=\"110\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To use the same start and end dates but include them in the formula instead, you\u2019d use this formula:<\/p>\n<pre>=DATEDIF(\"1\/1\/2021\",\"12\/31\/2022\",\"M\")<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830663\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/DatedifFormula-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"DATEDIF with dates in the formula\" width=\"439\" height=\"90\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Calculate_the_Number_of_Workdays_Between_Dates\"><\/span>Calculate the Number of Workdays Between Dates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Rather than finding any type of day, you might want just workdays. You can use NETWORKDAYS to <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/768050\/how-to-find-the-number-of-days-between-two-dates-in-microsoft-excel\/\">find this number and also account for holidays.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Find the Number of Days Between Two Dates in Microsoft Excel<\/em><\/strong><\/p>\n<p>The syntax is <code>NETWORKDAYS(start, end, holidays)<\/code> where <code>holidays<\/code> is an optional argument that references a cell range or array of dates.<\/p>\n<p>To find the number of workdays between our dates in cells A2 and B2 without holidays, you\u2019d use this formula:<\/p>\n<pre>=NETWORKDAYS(A2,B2)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830666\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/NetworkdaysNoHolidays-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"NETWORKDAYS formula without holidays\" width=\"415\" height=\"110\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To use the same cells containing dates but add the holidays in the cell range E2 through E5, you\u2019d use this formula:<\/p>\n<pre>=NETWORKDAYS(A2,B2,E2:E5)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830667\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/NetworkdaysHolidays-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"NETWORKDAYS formula with holidays\" width=\"650\" height=\"134\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Find_the_Date_After_a_Number_of_Workdays\"><\/span>Find the Date After a Number of Workdays<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Calculating \u201cbusiness days,\u201d or workdays, is something you might want to estimate a delivery, notice, or deadline. You can use the WORKDAY function to accomplish this.<\/p>\n<p>The syntax is <code>WORKDAY(start, number_days, holidays)<\/code> where you can optionally include a cell range of dates for <code>holidays<\/code> like the function above.<\/p>\n<p>To see the end date 10 workdays (B2) after our date in cell A2, you\u2019d use this formula:<\/p>\n<pre>=WORKDAY(A2,B2)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830668\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/WorkdayNoHolidays-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"WORKDAY formula without holidays\" width=\"435\" height=\"110\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To see the end date for that same date 10 workdays later but also consider the holidays in cells E2 through E5, use this formula:<\/p>\n<pre>=WORKDAY(A2,B2,E2:E5)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830669\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/WorkdayHolidays-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"WORKDAY formula with holidays\" width=\"650\" height=\"131\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Display_the_Current_Date_and_Time\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_6\">Display the Current Date and Time<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Two final functions you\u2019ll find useful in Google Sheet are TODAY and NOW. With TODAY, you can see the current date and with NOW, you can <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/448444\/how-to-add-the-current-date-and-time-in-google-sheets\/\">see the current date and time. These cells update accordingly each time you open your sheet.<\/p>\n<p>Neither function contains arguments, but you must include the parentheses for each.<\/p>\n<p>To display the current date in cell A1, enter the following:<\/p>\n<pre>=TODAY()<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830671\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/Today-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"TODAY formula\" width=\"237\" height=\"85\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To display the current date and time in cell A1, enter this formula instead:<\/p>\n<pre>=NOW()<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830670\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/Now-GoogleSheetsDateTimeFunctions.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"NOW formula\" width=\"220\" height=\"85\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Working with dates and times in Google Sheets is easy with these functions. Whether you need to grab part of a time, find the number of months between two dates, or always display the current date and time when you open your sheet, you\u2019re covered.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>13 Microsoft Excel Date and Time Functions You Should Know<\/em><\/strong><\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/830650\/google-sheets-date-and-time-functions\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;13 Google Sheets Date and Time Functions You Need to Know&#8221; When you use a spreadsheet for things where the timing is essential, you likely include dates and times. Google Sheets offers a collection of functions for formatting, converting, and calculating dates and times to help with your data entry. You might include dates for&#8230;<\/p>\n","protected":false},"author":1,"featured_media":501053,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/05\/google_sheets_her_1200x675.jpg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-501052","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/501052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=501052"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/501052\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/501053"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=501052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=501052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=501052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}