title: How to override the default calendar date and create a custom day for a company?
body: <p>In my office, I am creating an HR website for employees. There is a module to calculate attendance details, working hours etc.. So if an employee came to office in the morning and if he left the office at about 8PM in the night its OK. Because both In and Out and are on the same day. This is the happy path.</p>
  
  <p>So then I drawing graph base on it.
  <a href="https://i.stack.imgur.com/kjvpl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kjvpl.jpg" alt="enter image description here"></a></p>
  
  <p>But some employees are come to the office around 6pm and leaving the office on next day 2am in the morning. So their attendance is totally messed. If we check the first day they have an IN but no OUT. if we check the second day they start the day with an OUT. :D</p>
  
  <p>So cant calculates time on both days. </p>
  
  <p>So how to handle this problem?</p>
  
  <p>** Note:** No matter what all employees will leave the office at 4am. if an employee sits after 4am it will be very rare. So if we can adjust normal day to till next day 4am that will be OK with me. </p>
  
  <p>I am using MYSQL DB and ASP.net to build the site.</p>