Display the date and time from another time zone
I am using Red Hat 9
I am in the PDT time zone.
The date command displays the current date and time correctly.
Once a week, I need to display the current date and time in the CDT time zone.
Can the date command be used to display the current date and time in the CDT time zone?
If yes, how?
If no, is there another way?
in a term window, you should be able to type this...........
and answer a few questions.
I found a neat little script here which seems easy enough. I added the date command at the bottom so it would display the date and zone which you selected.
Thank you for the suggestions.
I just found out that the zdump command does the trick.
In my case it would be:
|All times are GMT -5. The time now is 11:07 AM.|