I have date and time extracted from JSON in following format
I need to convert it to local time of Pakistan and add 5 hours to that time so the result is like:
How I can achieve this?
from the current format which is yyyy-mm-ddThh:mm:ss+hhmm to this format?
The values are in a csv file and there are also negative values so I can't just substitute hyphens with forward slashes, also I want the part that specifies the time zone removed.
My knowledge of sed and awk is very basic.