I have a table in which i record the user time in and time out daily in a month.
So lets suppose today a user didnt time in /time out (and there could be many more days in a month.)
How can i get these records per month excluding the weekend which is Friday and Saturday?
Thank you in advance
Nitin SontakkePosted Oct 23, 2016, 12:27 PM
Midhun TpPosted Oct 23, 2016, 8:41 AM
Please find the relative solution in sql-
http://marlonribunal.com/finding-gaps-in-or-missing-dates-using-tsql/
Also have a look at below threads for something similar done with linq-
http://stackoverflow.com/questions/1468637/filling-in-missing-dates-using-a-linq-group-by-date-query
http://stackoverflow.com/questions/35062144/find-missing-date-in-listdatetime-and-insert-that-date-on-the-right-index