datetime - C# Add +1 day and set hours to 08:00:00 -


i have datetime field database example: 2013-06-18 17:00:00.000 value need add + 1 day , set hours 08:00:00 in case new value 2013-06-19 08:00:00.000 means new date value starts following day 8 a.m.

i know there method addhours(...) in c# datetime don't see how may in case.

var datetime = datetime.now;  //example date datetime.adddays(1).date.addhours(8) 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -