0

I have an

i) integer variable called gmtoffset (which is the number of hours/minutes to add/subtract from the base time) and

ii) map object(called result) which contains the timestamp in GMT . I need to iterate into map object and change the timestamp inside the map object by adding/subtracting according to the no of hours in gmtoffset variable.

For e.g, int gmtoffset = 0230 , changedTimestamp = 2013-09-11 01:11:00.1

My final changedTimestamp variable should be 2013-09-11 10:41:00.1

Request help.

4

1 に答える 1