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.
When I connected my new tablet to the Internet for the first time (and consequent times), I expected it to automatically change date and time to match the time zone I'm in (IIRC, it asked me for time zone when I turned it on, but I could be remembering wrong). It hasn't.