

{"id":42577,"date":"2018-11-17T16:46:09","date_gmt":"2018-11-17T11:16:09","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=42577"},"modified":"2018-11-19T16:58:04","modified_gmt":"2018-11-19T11:28:04","slug":"qlik-sense-day-numbering-functions","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/","title":{"rendered":"Qlik Sense Day Numbering Functions With Example"},"content":{"rendered":"<h2><span style=\"font-weight: 400\">1. Objective<\/span><\/h2>\n<p><span style=\"font-weight: 400\">In our last Qlik Sense tutorial, we discussed <strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-date-and-time-functions\/\">Qlik Sense Date and Time Functions<\/a><\/strong>. Today, we will see Qlik Sense Day Numbering Functions. These functions return dates and numbers for specific cases of time and date mentioned in the functions. So, you can get these functions to calculate numbers like age, net work days, first and last work dates, day numbers of years and quarters from given information like timestamp (date and time), date of birth etc. In this lesson, we will learn about the day numbering functions in Qlik Sense in detail.<\/span><\/p>\n<p>So, let&#8217;s start Qlik Sense Day Numbering Functions Tutorial.<\/p>\n<div id=\"attachment_42645\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42645\" class=\"size-full wp-image-42645\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg\" alt=\"Qlik Sense Day Numbering Functions With Example\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-42645\" class=\"wp-caption-text\">Qlik Sense Day Numbering Functions With Example<\/p><\/div>\n<h2>2. Qlik Sense Day Numbering Functions<\/h2>\n<p>Following are some Qlik Sense Day Numbering Functions &#8211;<\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-time-zone-functions\/\">You must read Qlik Sense Time Zone Function<\/a><\/strong><\/p>\n<h3><span style=\"font-weight: 400\">i. age() function<\/span><\/h3>\n<p><span style=\"font-weight: 400\">The age function returns the age of a person in years which is evaluated by the information given in the timestamp (which is the current date) and the date of birth of the person. This function returns a numeric value. <\/span><\/p>\n<p><strong>The syntax of Qlik Sense age function:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">age(timestamp, date_of_birth)<\/pre>\n<p><span style=\"font-weight: 400\">For example, if you are using the DD\/MM\/YYYY date format then,<\/span><\/p>\n<p><span style=\"font-weight: 400\">age(&#8217;25\/01\/2018&#8242;,&#8217;25\/12\/2010\u2019)<\/span> <span style=\"font-weight: 400\">will return 6 as the person would complete 6 years and would have 7<\/span><span style=\"font-weight: 400\">th<\/span><span style=\"font-weight: 400\"> year as running on the 25<\/span><span style=\"font-weight: 400\">th <\/span><span style=\"font-weight: 400\">of January,2018 which is the timestamp value. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Enter the script given below in the script editor of your Qlik Sense application and see what results you get.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Employees:\r\nLOAD * INLINE [\r\nMember|DateOfBirth\r\nJohn|28\/03\/1989\r\nKacey|10\/12\/1990\r\nSteven|5\/2\/1992\r\nSamuel|31\/3\/1993\r\nChris|19\/5\/1994\r\nMike|15\/9\/1994\r\nKendal|11\/12\/1994\r\nJenny|2\/3\/1995\r\nKatie|14\/5\/1996\r\nMathew|13\/6\/1996\r\nPeter|7\/7\/1998\r\nEmma|4\/8\/2000\r\n] (delimiter is |);\r\nAgeTable:\r\nLoad *,\r\nage('20\/08\/2015', DateOfBirth) As Age\r\nResident Employees;\r\nDrop table Employees;<\/pre>\n<p><span style=\"font-weight: 400\">This will result in three new fields, Member, DateOfBirth and Age which if you see in a table will look like this were all the ages are generated by the age() function which we used in the script above.<\/span><\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-in-function\/\">Do you know about Qlik Sense In Functions<\/a><\/strong><\/p>\n<table style=\"height: 758px\" width=\"352\">\n<tbody>\n<tr>\n<td><b>Member<\/b><\/td>\n<td><b>DateOfBirth<\/b><\/td>\n<td><b>Age<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">John<\/span><\/td>\n<td><span style=\"font-weight: 400\">28\/03\/1989<\/span><\/td>\n<td><span style=\"font-weight: 400\">26<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Kacey<\/span><\/td>\n<td><span style=\"font-weight: 400\">10\/12\/1990<\/span><\/td>\n<td><span style=\"font-weight: 400\">24<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Steven<\/span><\/td>\n<td><span style=\"font-weight: 400\">5\/2\/1992<\/span><\/td>\n<td><span style=\"font-weight: 400\">23<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Samuel<\/span><\/td>\n<td><span style=\"font-weight: 400\">31\/3\/1993<\/span><\/td>\n<td><span style=\"font-weight: 400\">22<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Chris<\/span><\/td>\n<td><span style=\"font-weight: 400\">19\/5\/1994<\/span><\/td>\n<td><span style=\"font-weight: 400\">21<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Mike<\/span><\/td>\n<td><span style=\"font-weight: 400\">15\/9\/1994<\/span><\/td>\n<td><span style=\"font-weight: 400\">20<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Kendal<\/span><\/td>\n<td><span style=\"font-weight: 400\">11\/12\/1994<\/span><\/td>\n<td><span style=\"font-weight: 400\">20<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Jenny<\/span><\/td>\n<td><span style=\"font-weight: 400\">2\/3\/1995<\/span><\/td>\n<td><span style=\"font-weight: 400\">20<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Katie<\/span><\/td>\n<td><span style=\"font-weight: 400\">14\/5\/1996<\/span><\/td>\n<td><span style=\"font-weight: 400\">19<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Mathew<\/span><\/td>\n<td><span style=\"font-weight: 400\">13\/6\/1996<\/span><\/td>\n<td><span style=\"font-weight: 400\">19<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Peter<\/span><\/td>\n<td><span style=\"font-weight: 400\">7\/7\/1998<\/span><\/td>\n<td><span style=\"font-weight: 400\">17<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Emma<\/span><\/td>\n<td><span style=\"font-weight: 400\">4\/8\/2000<\/span><\/td>\n<td><span style=\"font-weight: 400\">15<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span style=\"font-weight: 400\">ii. networkdays() function <\/span><\/h3>\n<p><span style=\"font-weight: 400\">The networkdays() function returns the total working days i.e. Monday to Friday excluding Saturday. Sunday and any holidays are specified in the function expression.<\/span><\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-financial-functions\/\">Let&#8217;s discuss Qlik Sense Financial Functions<\/a><\/strong><\/p>\n<p><strong>The syntax of Qlik Sense networkdays function<\/strong><span style=\"font-weight: 400\"><strong>:<\/strong> <\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">networkdays(start_date, end_date [, holiday])<\/pre>\n<p><span style=\"font-weight: 400\">Where start and end date specify the time period for which you want to calculate the net working days. If you want to specify any holidays, you can do so by specifying the holiday dates in the expression like &#8217;25\/12\/2013&#8242;, &#8217;26\/12\/2013&#8242;, &#8217;31\/12\/2013&#8242;, &#8217;01\/01\/2014&#8242; which are separated by commas. <\/span><\/p>\n<p><span style=\"font-weight: 400\">For example, <\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">networkdays ('19\/12\/2013', '07\/01\/2014', '25\/12\/2013', '26\/12\/2013')<\/pre>\n<p><span style=\"font-weight: 400\">This returns 12 as the net working days. It is so calculated that the holidays 25\/12\/2013 to 26\/12\/2013 are taken into account.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">iii. firstworkdate() function<\/span><\/h3>\n<p><span style=\"font-weight: 400\">This function returns the first work date (i.e. start date) given the end date of work and net working dates are mentioned in the function as parameters. It also considers any holidays while evaluating the expression, if mentioned. It returns the values as integer. <\/span><\/p>\n<p><strong>The syntax for firstworkdate function:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">firstworkdate(end_date, no_of_workdays {, holiday})<\/pre>\n<p><span style=\"font-weight: 400\">For example, <\/span><\/p>\n<p><strong>firstworkdate (&#8217;29\/12\/2017&#8242;, 10)<\/strong><span style=\"font-weight: 400\"> will return 16\/12\/2017 as the first work date. <\/span><\/p>\n<p><span style=\"font-weight: 400\">If you specify the holidays as well, it will be like,<\/span><\/p>\n<p><strong>firstworkdate (&#8217;29\/12\/2017&#8242;, 9, &#8217;25\/12\/2017&#8242;, &#8217;26\/12\/2017&#8242;) <\/strong><span style=\"font-weight: 400\">will return 15\/12\/2017 as the first work date where the dates 25\/12\/2017 and 26\/12\/2017 are holidays. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">iv. lastworkdate() function <\/span><\/h3>\n<p><span style=\"font-weight: 400\">Contrary to the firstworkdate() function, the lastworkdate() returns the last date of work i.e. the end date of a time period based on the net working days. This function returns values in dual data type.<\/span><\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-logical-functions\/\">Let&#8217;s take a tour to Qlik Sense Logical Functions<\/a><\/strong><\/p>\n<p><strong>The syntax\u00a0 of Qlik Sense lastworkdate function:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">lastworkdate(start_date, no_of_workdays {, holiday})<\/pre>\n<p><span style=\"font-weight: 400\">For example, <\/span><\/p>\n<p><span style=\"font-weight: 400\">lastworkdate (&#8217;19\/12\/2017&#8242;, 9)<\/span><span style=\"font-weight: 400\"> expression will return 31\/12\/2017 as the last work date. Where, the date 19\/12\/2017 is the start date and 9 is the number of work days after which we want to know the end date or last work date. You also specify holidays in the expression separating the dates \u00a0by comma if more than one. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">v. daynumberofyear() function <\/span><\/h3>\n<p><span style=\"font-weight: 400\">This function returns the day number from 366 days in a year based on the current date, timestamp or a date that is specified in the function. You can also make the function calculate the day nth day from a particular month\u2019s start (i.e. 1<\/span><span style=\"font-weight: 400\">st<\/span><span style=\"font-weight: 400\"> of that month) by specifying that month in numbers in the function. This function returns the value with integer as the data type. <\/span><\/p>\n<p><strong>The syntax of Qlik Sense day numbering functions:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">DayNumberOfYear(timestamp[,start_month])<\/pre>\n<p><span style=\"font-weight: 400\">For example, <\/span><\/p>\n<p><strong>DayNumberOfYear(&#8217;12\/09\/2017&#8242;)<\/strong> <span style=\"font-weight: 400\">returns 256 which the number of day this date falls on from the 1<\/span><span style=\"font-weight: 400\">st<\/span><span style=\"font-weight: 400\"> of January 2017. <\/span><\/p>\n<p><span style=\"font-weight: 400\">If you specify a month, then the result will be, <\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>DayNumberOfYear(&#8217;12\/09\/2017&#8242;,3)<\/strong>\u00a0<\/span><span style=\"font-weight: 400\">returns 196 as the number of the day encountered starting from 1<\/span><span style=\"font-weight: 400\">st<\/span><span style=\"font-weight: 400\"> of March. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">vi. daynumberofquarter() function <\/span><\/h3>\n<p><span style=\"font-weight: 400\">As the 12 months in a year can be divided into three quarters, this function returns the number of the day a particular date is falling on in the quarter in which it resides. <\/span><\/p>\n<p><strong>The syntax of Qlik Sense Day Numbering Functions:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">DayNumberOfQuarter(timestamp[,start_month])<\/pre>\n<p><span style=\"font-weight: 400\">Where timestamp is the date you want to know the day number in the quarter of and start_month is the number of month you want to set as the starting month for this evaluation. This function always returns an integer value.<\/span><\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-mathematical-functions\/\">You must read Qlik Sense Mathematical Functions<\/a><\/strong><\/p>\n<p><span style=\"font-weight: 400\"><strong>For example,<\/strong> <\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">DayNumberOfQuarter('12\/09\/2017')<\/pre>\n<p><span style=\"font-weight: 400\">This will return 74 as the day number of the current quarter.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">DayNumberOfQuarter('12\/09\/2014',3)<\/pre>\n<p><span style=\"font-weight: 400\">This returns 12 as the day number of the current quarter. The quarter will start from the 3<\/span><span style=\"font-weight: 400\">rd<\/span><span style=\"font-weight: 400\"> month that is, the month of March.<\/span><\/p>\n<p>So, this was all in Qlik Sense Day Numbering Functions. Hope you like our explanation.<\/p>\n<h2><span style=\"font-weight: 400\">3. Conclusion <\/span><\/h2>\n<p><span style=\"font-weight: 400\">Hence, we discussed all the Qlik Sense Day Numbering Functions. Thus, these functions are very useful in making calculations related to days and dates and save a lot of user\u2019s time.<\/span><\/p>\n<p>Share your feedback of reading Qlik Sense Day Numbering Functions with us.<\/p>\n<p><strong>See also-\u00a0<\/strong><\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-integer-functions\/\">Qlik Sense Integer Functions<\/a><\/strong><\/p>\n<p><strong><a href=\"https:\/\/www.qlik.com\/us\/products\/qlik-sense\">Reference for Qlik Sense\u00a0<\/a><\/strong><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1641,&quot;href&quot;:&quot;https:\\\/\\\/www.qlik.com\\\/us\\\/products\\\/qlik-sense&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250910054814\\\/https:\\\/\\\/www.qlik.com\\\/us\\\/products\\\/qlik-sense&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 14:59:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-12 19:36:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-16 00:14:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-19 05:16:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-22 07:28:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-25 14:15:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-29 02:13:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-01 05:49:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-04 07:22:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-07 08:15:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-11 13:51:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-14 16:21:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-19 02:44:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-22 03:03:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-25 11:06:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-28 12:37:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-01 00:15:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-04 05:47:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-07 12:47:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 15:45:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-13 17:01:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-16 17:50:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 06:42:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 09:55:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-26 10:25:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 16:39:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-05 05:06:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 11:22:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 13:38:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-14 19:24:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-18 01:36:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 23:13:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-25 01:59:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-29 13:02:13&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-01 13:05:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-04 14:23:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-07 17:56:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-10 21:58:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-14 04:26:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-17 06:08:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-20 07:37:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-23 09:28:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-27 07:37:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-30 08:39:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 07:49:58&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-07 09:05:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-10 12:55:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-13 15:31:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-17 20:04:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-21 03:24:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-25 05:12:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-28 09:09:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-01 06:19:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-04 09:38:09&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-07 13:53:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-10 23:30:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-14 12:40:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-17 13:15:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-20 15:32:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-23 15:36:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-27 02:26:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-30 05:49:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-03 06:52:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-06 08:01:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-09 09:19:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-12 20:23:54&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-12 20:23:54&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Objective In our last Qlik Sense tutorial, we discussed Qlik Sense Date and Time Functions. Today, we will see Qlik Sense Day Numbering Functions. These functions return dates and numbers for specific cases&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":42645,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17408],"tags":[17652,17659,17657,17656,17654,17655,17653,17658],"class_list":["post-42577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qlik-sense-tutorials","tag-age-function","tag-day-numbering-functions-in-qlik-sense","tag-daynumberofquarter-function","tag-daynumberofyear-function","tag-firstworkdate-function","tag-lastworkdate-function","tag-networkdays-function","tag-qlik-sense-day-numbering-functions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Qlik Sense Day Numbering Functions With Example - DataFlair<\/title>\n<meta name=\"description\" content=\"Qlik Sense Day Numbering Functions,Age function, networkdays function,firstworkdate,lastworkdate,daynumberofquarter,daynumberofyear\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Qlik Sense Day Numbering Functions With Example - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Qlik Sense Day Numbering Functions,Age function, networkdays function,firstworkdate,lastworkdate,daynumberofquarter,daynumberofyear\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-17T11:16:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-19T11:28:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Qlik Sense Day Numbering Functions With Example - DataFlair","description":"Qlik Sense Day Numbering Functions,Age function, networkdays function,firstworkdate,lastworkdate,daynumberofquarter,daynumberofyear","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/","og_locale":"en_US","og_type":"article","og_title":"Qlik Sense Day Numbering Functions With Example - DataFlair","og_description":"Qlik Sense Day Numbering Functions,Age function, networkdays function,firstworkdate,lastworkdate,daynumberofquarter,daynumberofyear","og_url":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-11-17T11:16:09+00:00","article_modified_time":"2018-11-19T11:28:04+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Qlik Sense Day Numbering Functions With Example","datePublished":"2018-11-17T11:16:09+00:00","dateModified":"2018-11-19T11:28:04+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/"},"wordCount":945,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg","keywords":["Age Function","Day Numbering Functions in Qlik Sense","daynumberofquarter function","daynumberofyear function","firstworkdate function","lastworkdate function","networkdays function","Qlik Sense Day Numbering Functions'"],"articleSection":["Qlik Sense Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/","url":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/","name":"Qlik Sense Day Numbering Functions With Example - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg","datePublished":"2018-11-17T11:16:09+00:00","dateModified":"2018-11-19T11:28:04+00:00","description":"Qlik Sense Day Numbering Functions,Age function, networkdays function,firstworkdate,lastworkdate,daynumberofquarter,daynumberofyear","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/Qlik-Sense-Day-Numbering-Functions-01.jpg","width":1200,"height":628,"caption":"Qlik Sense Day Numbering Functions With Example"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-day-numbering-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Qlik Sense Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/qlik-sense-tutorials\/"},{"@type":"ListItem","position":3,"name":"Qlik Sense Day Numbering Functions With Example"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/42577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=42577"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/42577\/revisions"}],"predecessor-version":[{"id":42646,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/42577\/revisions\/42646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/42645"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=42577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=42577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=42577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}