Time conversion problem

  • Thread starter Thread starter New Devil
  • Start date Start date
N

New Devil

hi all,
I want to add minutes in a time which is already in string
format.
string time="12:30"; Now add 30 minutes in it how to do
that??
plz help.....
Regards,
Ibrahim
(e-mail address removed)
 
New Devil said:
I want to add minutes in a time which is already in string
format.
string time="12:30"; Now add 30 minutes in it how to do
that??

Parse the string into a DateTime, then add a TimeSpan to it, and then
reformat it to a string.
 
Back
Top