Lalit Mohan's
Wednesday, April 27, 2011
Add/Substract Min/sec with DateTime in c#
To Add Minutes/Seconds
<datetime variable>.AddMinute(double value);
<datetime variable>.Addseconds(double value);
To Substract Minutes/Seconds
<datetime variable>.AddMinute(-(double value));
<datetime variable>.Addseconds(-(double value));
1 comment:
no
said...
gr8 job
April 27, 2011 at 5:30 PM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
1 comment:
gr8 job
Post a Comment