I have a string containing a time in format: "yyyy-mm-dd:HH:MM:SS"
I have to decrease this time value by a 3-digit hour value or 3-digit day value.
What could be the best of doing it? Only way I can think of is:
1) convert the string's time into seconds
2) convert the specified value into seconds
3) subtract them
4) convert the result back to a string.
Is there a better/more efficient way of doing it???