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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -