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?
How to get the EST timzone date (already convrted and get String) into date format with its Timezone?
I tried with changing timezone and I got the perfect datetime in string format but while I am parsing that String date into date format it gives me local Android system timezone time.
Thanks for any help...in advance.
DateFormat outputFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm aa");
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.