How To Change Timezone on a CentOS 6 and 7

last updated in Categories , ,

I set my time zone to ‘America/New_York’ on a CentOS Linux 7 server. I want to see date and time in my timezone in log files. How can I change the current timezone from ‘America/New_York’ to ‘America/Chicago’ using the command line? How can I change timezone on a CentOS 6 and 7 using the ssh based session?