{"id":998,"date":"2019-05-02T13:12:47","date_gmt":"2019-05-02T10:12:47","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=998"},"modified":"2019-05-02T13:12:51","modified_gmt":"2019-05-02T10:12:51","slug":"the-days-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-days-function\/","title":{"rendered":"The DAYS Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Calculates the number of days between two dates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The syntax of the function is the following: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>DAYS<\/strong><em>(<strong>end_date<\/strong><span><b>, start_date<\/b><\/span><\/em>) <\/p><cite><strong>end_date<\/strong>: The end date of the period&#8217;s length in days we wish to calculate.   <br><strong>start_date<\/strong>: The start date of the period&#8217;s length in days we wish to calculate.     <br><\/cite><\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the button to practice using this function, with the help of our <strong>Online Assessment Tool<\/strong>:<\/p>\n\n\n<p class=\"button-practice-container\" ><a class=\"button button-primary button-practice\" style=\"height:auto\"  href=\"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/plugins\/unlimited-integration\/run.php?id=OTdFM3pyei9zN0pBbGlTMXRYMmpMTXdNcUV0bmlPYkpWbzV4SFNTZmEvL3hQbWFDOUxYelBTT29KZVV1Ly81cA==&b=ZWVCdGR5R0xiUHNWQ2RlMWY0REJ2eUI3S2hWYTkya1RiS29GSEdPalJsTzNaUDdUNm5WNHJsWExFZzRrNWQwejR3SnltdnpkWWNzbnFocHhPWGFJcmpVTjlkRHp5R21ZOE0waC9EZGFhbVU9\">Practice<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Here is an example of how to use the DAYS function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Complete the cells C2:F2 following the instructions in the cells C1:F1.<br>\nC2: Subtract start date from enddate<br>\nD2: use the hidden datedif function to find the difference in days between the dates in A2:B2<br>\nE2,F2: use the functions shown in the first row to find the difference in days between the dates in A2:B2<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Use the DAYS,DATEDIFand NETWORKDAYS functions to find the difference in days between dates\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/U50EsuT1OUI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Calculates the number of days between two dates.<\/p>\n","protected":false},"author":2,"featured_media":999,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[133,142],"class_list":["post-998","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-date-time","tag-days"],"_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/comments?post=998"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/998\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/999"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}