{"id":6411,"date":"2023-03-01T13:28:33","date_gmt":"2023-03-01T13:28:33","guid":{"rendered":"https:\/\/docs.daftra.com\/user_manual\/%d8%a7%d9%84%d9%88%d8%b1%d8%af%d9%8a%d8%a9-%d8%a7%d9%84%d8%ab%d8%a7%d9%86%d9%8a%d8%a9-%d9%88%d8%ad%d8%b3%d8%a7%d8%a8-%d9%88%d8%b1%d8%af%d9%8a%d8%aa%d9%8a%d9%86-%d9%84%d9%84%d9%85%d9%88%d8%b8%d9%81\/"},"modified":"2026-01-26T09:59:21","modified_gmt":"2026-01-26T09:59:21","slug":"defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts","status":"publish","type":"user_manual","link":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/","title":{"rendered":"Defining the Second Shift and Calculating Employee Attendance for Two Shifts"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]Often, shifts are not continuous hours but are divided into two periods, with the employee working the total required hours in two separate sessions interspersed with a break.<\/p>\n<p>For example, an employee may work from 8 AM to 12 PM and then from 6 PM to 10 PM. To implement an employee being assigned to two shifts, you should activate the feature within a specific period and follow certain steps, which we will review together in this article.<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><\/div>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;Activating the Second Shift in the Account&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1703511218415{background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]<\/p>\n<div class=\"flex-1 overflow-hidden\">\n<div class=\"react-scroll-to-bottom--css-rpezf-79elbk h-full\">\n<div class=\"react-scroll-to-bottom--css-rpezf-1n7m0yu\">\n<div class=\"flex flex-col pb-9 text-sm\">\n<div class=\"w-full text-token-text-primary\" data-testid=\"conversation-turn-7\">\n<div class=\"px-4 py-2 justify-center text-base md:gap-6 m-auto\">\n<div class=\"flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group final-completion\">\n<div class=\"relative flex w-full flex-col lg:w-[calc(100%-115px)] agent-turn\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 overflow-x-auto\" data-message-author-role=\"assistant\" data-message-id=\"1298f48d-fead-4ab2-b262-25d34b53dc88\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>By navigating to attendance settings from the main menu and then going to basic settings, you can enable (allowing the second shift for employees).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-46057 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png\" alt=\"\" width=\"1365\" height=\"630\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png 1365w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings-300x138.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings-1024x473.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings-768x354.png 768w\" sizes=\"auto, (max-width: 1365px) 100vw, 1365px\" \/><\/p>\n<p>This will display a new field for the second shift in the employee&#8217;s profile, distinct from the first shift field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-46059 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/enable-secondary-shift-.png\" alt=\"\" width=\"1197\" height=\"622\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/enable-secondary-shift-.png 1197w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/enable-secondary-shift--300x156.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/enable-secondary-shift--1024x532.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/enable-secondary-shift--768x399.png 768w\" sizes=\"auto, (max-width: 1197px) 100vw, 1197px\" \/>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Adding the first and second shifts in the account&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1703592513087{background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]Before assigning the shifts to the employee, you need to verify the registration of the shifts in the system and adjust their times.<\/p>\n<p>As for the first shift, it is often the morning shift, followed by a break period, and then the second shift; the evening shift. To have two shifts do as follows:<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-561.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11095\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-561.png\" alt=\"\" width=\"885\" height=\"592\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-561.png 885w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-561-300x201.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-561-768x514.png 768w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/a><\/p>\n<p>And here appear the timings of the first shift (Morning shift).<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-562.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11106\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-562.png\" alt=\"\" width=\"777\" height=\"595\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-562.png 777w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-562-300x230.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-562-768x588.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>And here are the timings of the second shift (Evening shift).<\/p>\n<p>Save them and proceed to assign them to the desired employee profile.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Explanation of assigning the two shifts in the employee file&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1703592918302{background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]<\/p>\n<div class=\"w-full text-token-text-primary\" data-testid=\"conversation-turn-9\">\n<div class=\"px-4 py-2 justify-center text-base md:gap-6 m-auto\">\n<div class=\"flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group\">\n<div class=\"relative flex w-full flex-col lg:w-[calc(100%-115px)] agent-turn\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 overflow-x-auto\" data-message-author-role=\"assistant\" data-message-id=\"b9354930-2544-4e3d-ac75-a0c938938e3f\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>By editing the employee file, from the &#8220;<strong>Manage Employee<\/strong>&#8221; section in the &#8220;<strong>Employees<\/strong>&#8221; dropdown menu, you can fill in the attendance details. Within this section, you have the employee&#8217;s shift and attendance timings. All you need to do is select the two shifts in chronological order for the work time and update the data.&#8221;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-563.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11141\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-563.png\" alt=\"\" width=\"1190\" height=\"595\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-563.png 1190w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-563-300x150.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-563-1024x512.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-563-768x384.png 768w\" sizes=\"auto, (max-width: 1190px) 100vw, 1190px\" \/><\/a>[\/vc_column_text][vc_custom_heading text=&#8221;Uploading attendance records for the employee&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1703593098396{margin-left: 120px !important;}&#8221;][vc_column_text]After preparing an Excel file containing the employee&#8217;s work start and end times during the two shifts, ensure that the data is matched and arranged in the following format:<\/p>\n<ul>\n<li>Employee&#8217;s name or ID number<\/li>\n<li>Shift date in the format: day\/month\/year<\/li>\n<\/ul>\n<p>Then, upload the file in the system by clicking on the attendance logs option in the &#8220;<strong>Attendance<\/strong>&#8221; dropdown menu.<\/p>\n<p>Click on &#8220;<strong>Import File<\/strong>&#8221; and upload the file that contains the attendance days from your device or through the fingerprint device connected to the system. Afterward, the program will calculate the attendance based on this file.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34327 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjfafs.png\" alt=\"\" width=\"1024\" height=\"483\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjfafs.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjfafs-300x142.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjfafs-768x362.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>To upload the file, follow these steps:<\/p>\n<ol>\n<li>To upload the file click on <b>\u201cChoose file\u201d,<\/b><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-565.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11164\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-565.png\" alt=\"\" width=\"944\" height=\"492\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-565.png 944w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-565-300x156.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-565-768x400.png 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/a><\/p>\n<p>Considering the selection of &#8216;Comma Separated,&#8217;<\/p>\n<p>then activate the option to skip errors during the import process.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34329 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/oiajekptgd.png\" alt=\"\" width=\"1270\" height=\"588\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/oiajekptgd.png 1270w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/oiajekptgd-300x139.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/oiajekptgd-1024x474.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/oiajekptgd-768x356.png 768w\" sizes=\"auto, (max-width: 1270px) 100vw, 1270px\" \/><\/p>\n<p>A screen will appear indicating the successful completion of the import process.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11176 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-567-1.png\" alt=\"\" width=\"947\" height=\"409\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-567-1.png 947w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-567-1-300x130.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-567-1-768x332.png 768w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/p>\n<p>Then, we proceed to calculate the employee&#8217;s attendance through the attendance log.[\/vc_column_text][vc_message message_box_style=&#8221;3d&#8221; message_box_color=&#8221;alert-warning&#8221;]<\/p>\n<blockquote><p>Note:<\/p>\n<p>When importing attendance files, make sure to check the date format in the Excel file to match the date format in the attendance log, which is typically in the day\/month\/year format by default.<\/p><\/blockquote>\n<p>[\/vc_message][vc_column_text]Otherwise, this message appears<\/p>\n<p><strong>Invalid Data, Wrong Relation Chriss at row #2<\/strong>[\/vc_column_text][vc_custom_heading text=&#8221;Calculating employee attendance and displaying the attendance summary for the two shifts&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1703597378633{margin-left: 120px !important;}&#8221;][vc_column_text]<\/p>\n<article id=\"post-5301\" class=\"post-5301 post type-post status-publish format-standard has-post-thumbnail hentry category-manual\">\n<div class=\"post-inner-content\">\n<div class=\"entry-content\">\n<div class=\"flex-1 overflow-hidden\">\n<div class=\"react-scroll-to-bottom--css-jjgjw-79elbk h-full\">\n<div class=\"react-scroll-to-bottom--css-jjgjw-1n7m0yu\">\n<div class=\"flex flex-col pb-9 text-sm\">\n<div class=\"w-full text-token-text-primary\" data-testid=\"conversation-turn-31\">\n<div class=\"px-4 py-2 justify-center text-base md:gap-6 m-auto\">\n<div class=\"flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group final-completion\">\n<div class=\"relative flex w-full flex-col lg:w-[calc(100%-115px)] agent-turn\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 overflow-x-auto\" data-message-author-role=\"assistant\" data-message-id=\"96384799-4bad-402e-9d42-6c1c3cc9c4a1\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>After uploading the file containing the attendance for the two merged shifts, proceed to the attendance log. Create a new attendance log and specify:<\/p>\n<ol>\n<li>The start date for calculating the employee&#8217;s attendance.<\/li>\n<li>The end date for calculating the employee&#8217;s attendance (usually for a full month).<\/li>\n<li>Choose the employee or the shift for which you want to view the attendance log.<\/li>\n<\/ol>\n<p>Then, click the &#8216;<strong>Create<\/strong>&#8216; button to generate the log.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34331 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/gtjf.png\" alt=\"\" width=\"1243\" height=\"582\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/gtjf.png 1243w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/gtjf-300x140.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/gtjf-1024x479.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/gtjf-768x360.png 768w\" sizes=\"auto, (max-width: 1243px) 100vw, 1243px\" \/><\/p>\n<p>After creating the attendance log, you will receive a confirmation message, and a review copy of the log will be available, including a detailed summary of the employee&#8217;s attendance.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34333 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/fvsd.png\" alt=\"\" width=\"1366\" height=\"582\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/fvsd.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/fvsd-300x128.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/fvsd-1024x436.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/fvsd-768x327.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p>After clicking on the desired attendance log, you can access the following attendance details:<\/p>\n<ul>\n<li>Total working days<\/li>\n<li>Total attendance days and the attendance percentage<\/li>\n<li>Start of the fiscal year covered by this attendance log<\/li>\n<li>Total delay, including the number of delayed days and the total delayed time in minutes<\/li>\n<li>Expected working hours<\/li>\n<li>Actual working hours and the percentage of actual attendance hours compared to the expected ones<\/li>\n<li>Number of absent days<\/li>\n<li>Number of vacation days<\/li>\n<li>Days the employee left early<\/li>\n<li>Days the employee did not register their sign-out<\/li>\n<li>Days the employee did not register their sign-in<\/li>\n<\/ul>\n<p>Details of Leaves:<\/p>\n<p>These include categorized vacations:<\/p>\n<ul>\n<li>Regular vacations<\/li>\n<li>Exceptional vacations<\/li>\n<li>Any other type of system-defined vacations<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34335 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjegfv.png\" alt=\"\" width=\"1140\" height=\"633\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjegfv.png 1140w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjegfv-300x167.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjegfv-1024x569.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/kjegfv-768x426.png 768w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/p>\n<p>In case you accept the attendance log and it matches the information you have, click on the approval button.<\/p>\n<p>Navigate to the &#8220;<strong>Attendance Days<\/strong>&#8221; tab to review a list of all attendance days, including the entry and exit times for the employee, and the day&#8217;s status as either attendance, vacation, or another status.<\/p>\n<p>Note the following:<\/p>\n<ul>\n<li>Times considered as tardiness according to your attendance rules will appear in red.<\/li>\n<li>You can accurately determine the total attendance hours for the employee during the day.<\/li>\n<li>After approving the attendance log, you cannot make changes to the status or entry\/exit times.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-576.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11198\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-576.png\" alt=\"\" width=\"887\" height=\"532\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-576.png 887w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-576-300x180.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/Screenshot-576-768x461.png 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/a><\/p>\n<\/div>\n<footer class=\"entry-meta\"><\/footer>\n<\/div>\n<\/article>\n<nav class=\"navigation post-navigation\" role=\"navigation\"><\/nav>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"author":13,"template":"","categories":[8010],"tags":[8223,3438],"class_list":["post-6411","user_manual","type-user_manual","status-publish","hentry","category-shifts-management","tag-attendance-settings","tag---en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Defining the Second Shift and Calculating Employee Attendance for Two Shifts - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Defining the Second Shift and Calculating Employee Attendance for Two Shifts - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_column_text]Often, shifts are not continuous hours but are divided into two periods, with the employee working the total required hours in two separate sessions interspersed with a break. For example, an employee may work from 8 AM to 12 PM and then from 6 PM to 10 PM. To implement an employee being assigned to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-26T09:59:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png\",\"width\":1365,\"height\":630},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/\",\"name\":\"Defining the Second Shift and Calculating Employee Attendance for Two Shifts - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#primaryimage\"},\"datePublished\":\"2023-03-01T13:28:33+00:00\",\"dateModified\":\"2026-01-26T09:59:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Defining the Second Shift and Calculating Employee Attendance for Two Shifts\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Defining the Second Shift and Calculating Employee Attendance for Two Shifts - Daftra Knowledge Base","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:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/","og_locale":"en_US","og_type":"article","og_title":"Defining the Second Shift and Calculating Employee Attendance for Two Shifts - Daftra Knowledge Base","og_description":"[vc_row][vc_column][vc_column_text]Often, shifts are not continuous hours but are divided into two periods, with the employee working the total required hours in two separate sessions interspersed with a break. For example, an employee may work from 8 AM to 12 PM and then from 6 PM to 10 PM. To implement an employee being assigned to [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-01-26T09:59:21+00:00","og_image":[{"url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#primaryimage","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/03\/basic-attendance-settings.png","width":1365,"height":630},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#webpage","url":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/","name":"Defining the Second Shift and Calculating Employee Attendance for Two Shifts - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#primaryimage"},"datePublished":"2023-03-01T13:28:33+00:00","dateModified":"2026-01-26T09:59:21+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/defining-the-second-shift-and-calculating-employee-attendance-for-two-shifts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Defining the Second Shift and Calculating Employee Attendance for Two Shifts"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/6411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/user_manual"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":10,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/6411\/revisions"}],"predecessor-version":[{"id":46061,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/6411\/revisions\/46061"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=6411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=6411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=6411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}