Check out example codes for "set timezone in debian terminal". It will help you in understanding the concepts better.

Code Example 1

sudo timedatectl set-timezone <your_time_zone>

Learn ReactJs, React Native from akashmittal.com