terminal get timezone utc

C++
date +%z

Source

Also in C++: