Gap in dates using c#
Hi,I have a table which contains start date and end date and Date of Joining.
table records are:
DOJ -- StartDate -- EndDate
-------------------------------------------------------------
2016/01/01 2016/01/01 2016/01/31 --- for January month
2016/01/01 2016/03/01 2016/03/31- -- for march month
I need c# code to get misssing dates i.e misssing record
output as :
DOJ -- StartDate -- EndDate
-------------------------------------------------------------
2016/01/01 2016/02/01 2016/02/28 -- i.e february month
Thanks.