[Mono-list] C# DateTime AddHours

tynman tyndall at attglobal.net
Sun Sep 27 14:10:26 EDT 2009


OK, so I replaced 
dtEnd.AddHours(dHrs);
 with 
dtEnd = dtEnd.AddHours(dHrs); 
and it works much better!  

Thanks  Patrick...


Calahatras wrote:
> 
> AddHours gives you a new DateTime instance.
> / patrick
> 

-- 
View this message in context: http://www.nabble.com/C--DateTime-AddHours-tp25635579p25636003.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list