Is there a way to get the offset of a given timezone (identifier like EDT or America/New_York) from GMT in linux shell script?
Export your TZ environment variable and print date with %z for timezone offset.
#!/bin/sh
export TZ=":Pacific/Auckland"
date +%z