Hello,
I want to use date +[x days] like ex.: DateTime.Now.Day +7days; But when it reaches next month I want to add next month to DateTime.Now.Month; + DateTime.Now.LeftDay's;
Is it possible to use somehow a code to calculate date automaticlly, because using if's is a waste of time and space? - I would have to spend a lot of time building code with if's for every case.
Detail Description:
I want to show first 14 days for a room if it is available or not. So when I start with DateTime.Now.Day, and the next day DateTime.Now.Day +1; but if it is end of a month I want to DateTime.Now.Month +1 and then DateTime.Now.Day =1; and so on...
Is there a ready made code for this?
Please help, thank you.
