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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -