Check out example codes for "convert time zone redshift". It will help you in understanding the concepts better.

Code Example 1

CONVERT_TIMEZONE ( ['source_timezone',] 'target_timezone', 'timestamp')

Learn ReactJs, React Native from akashmittal.com