I have a method that returns a new model as follows
return new Model
{
markets = response.markets
};
the markets object looks as follows:
markets: "B234851T001 - 23/08/04 11:31, B234961T002 - 23/08/04 03:43"
i need to add a UTC offset +2 to each of the dateTime. so that it would look as follows
markets: "B234851T001 - 23/08/04 13:31, B234961T002 - 23/08/04 05:43"
usually if the market object wasn't a string and just a single datetime object i would do something as follows:
markets.AddHours(2)
But i am not sure how to do this with multiple datetimes in a string to achieve the desired mentioned output? Note: i can not edit the string before its been accessed by the model
This works: