On a systemd-based CentOS or Linux server, set the timezone with timedatectl set-timezone Region/City. First choose a valid IANA zone, then verify the result with timedatectl. This changes how the operating system displays and interprets local time; it does not, by itself, synchronize the server clock.
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
The correct command sequence
The standard method on CentOS 7 and 8, and on RHEL 9, is the timedatectl interface provided by systemd. Run the following as a user with sudo rights:
As an Amazon Associate I earn from qualifying purchases.
- Display the current timezone and synchronization state:
timedatectl - Find the exact IANA name for your location. Replace
Citywith a distinctive part of the name:timedatectl list-timezones | grep <City> - Set the zone, using the returned
Region/Cityspelling:sudo timedatectl set-timezone America/Chicago - Verify the change:
timedatectl
The new zone is stored as the system configuration and remains in effect after a reboot. The exact command is the same whether the server is physically in that location or hosted elsewhere; timezone describes the location whose civil-time rules should be applied, not the data center’s address.
What a timezone setting changes—and what it does not
A Linux system keeps time as an absolute clock and applies a timezone when it presents that time to users and applications. The selected IANA zone supplies the daylight-saving and historical offset rules. Logs, scheduled jobs, shell output, and programs that ask the operating system for local time can therefore show a different wall-clock value after a timezone change.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Changing the zone does not set the hardware or system clock to a new instant. It also does not turn network time synchronization on or off. A server can have the correct timezone but an inaccurate clock, or an accurate UTC clock with an unsuitable local display zone. Check both properties separately before diagnosing a time-related incident.
Before you change the setting
Confirm the operating system and init system
timedatectl is intended for systemd-based installations. CentOS 7 and CentOS 8 use it in normal installations, as do current RHEL releases such as RHEL 9. On a minimal, containerized, or unusually old system, the command may be missing because systemd is not the active init system. If timedatectl is unavailable, identify the distribution and release before using a legacy method rather than copying a command intended for another platform.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteDecide whether the server should use local time or UTC
Most application and database servers are easiest to operate in UTC, especially when they serve users in several regions. A local timezone can be useful for a machine whose operators and scheduled maintenance windows are tied to one civil-time region. Whichever policy you choose, apply it consistently to the operating system, applications, monitoring, and runbooks. A timezone change can alter the displayed date and the interpretation of recurring local-time schedules without changing the underlying instant.
Use an IANA name, not an abbreviation
Names such as America/Chicago come from the public IANA time zone database and encode daylight-saving rules. Abbreviations such as CST are ambiguous: they can refer to different offsets in different countries and may not express seasonal changes. Use the full Region/City value returned by timedatectl list-timezones.
Step-by-step with timedatectl
1. Inspect the current state
Run:
timedatectl
The output includes local time, universal time, the real-time clock, the configured time zone, and whether network time synchronization is active. Record the current value before making a change so that an unexpected application result can be traced back to the configuration change.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
2. Search the installed timezone list
To see every available name, run:
timedatectl list-timezones
For a shorter result, filter it:
timedatectl list-timezones | grep New_York
Use the exact capitalization and slash-separated spelling from the output. If a search returns nothing, broaden the search term or inspect the complete list. The list reflects the timezone database installed on that host, so a very old package set may not contain recently introduced regional aliases.
3. Apply the selected zone
Set the zone with:
sudo timedatectl set-timezone America/New_York
Replace the example with the value appropriate for the server’s operating policy. The command changes the system timezone configuration; it does not require you to calculate an offset manually, and it automatically uses the IANA rules for daylight-saving transitions where those rules apply.
4. Verify immediately
Run timedatectl again and check the Time zone line. You can also print the local date and the UTC date side by side:
date
date -u
The two values should differ by the offset represented by the selected zone at that moment. During a daylight-saving transition, the offset may differ from the value you expect from a winter or summer example, so verify the zone name rather than judging only by a numeric offset.
Choosing the right zone for common server locations
The following examples illustrate the naming pattern; they are not interchangeable abbreviations:
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
| Location policy | Example IANA name | Why the full name matters |
|---|---|---|
| Central United States | America/Chicago |
Applies the region’s standard and daylight-saving rules. |
| Eastern United States | America/New_York |
Uses Eastern-region rules rather than a fixed “EST” offset. |
| Coordinated Universal Time | Etc/UTC |
Provides a stable UTC display for globally operated services. |
| Another region | Region/City from list-timezones |
Prevents ambiguous abbreviations and invalid hand-typed names. |
If the server’s users are distributed globally, keeping the host in UTC and converting at the application or reporting layer can avoid daylight-saving surprises. If an operational team requires local time, document the selected IANA name in the server inventory so a replacement host receives the same setting.
Timezone versus clock synchronization
Red Hat’s RHEL 9 guidance treats timezone configuration and clock synchronization as separate tasks. The timezone determines presentation; the synchronization service keeps the clock close to a trusted reference.
Check synchronization status
The timedatectl output reports whether network time synchronization is active. A healthy timezone line does not prove that the clock is synchronized. Investigate the synchronization service when timestamps drift, certificates appear not-yet-valid, or distributed logs disagree by more than the expected timezone offset.
Chrony is the normal synchronization service
On RHEL 9 and later, Red Hat documents chronyd, supplied by the chrony package, as the service used for network time synchronization. A typical inspection command is:
systemctl status chronyd
Use the service status and your organization’s configured time sources to determine whether synchronization is running. Installing or reconfiguring chrony is an administration task separate from selecting the timezone; changing one does not automatically repair the other.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
Runtime changes are not the same as permanent configuration
Commands issued through chronyc can adjust a running daemon, but Red Hat notes that changes made this way are lost when chronyd restarts. Put permanent source and policy changes in /etc/chrony.conf, then restart or reload the service according to the configuration change. Do not treat a successful one-time chronyc result as proof that the setting will survive a reboot.
Manual time setting is a fallback
timedatectl set-time can set the clock manually when synchronization is unavailable, but it changes the clock instant and can disrupt applications, authentication, certificates, and scheduled work. Prefer restoring chrony-based synchronization whenever possible. If a manual correction is unavoidable, coordinate it with application owners and verify the resulting time and synchronization state afterward.
Persistence and alternative methods
| Method | What it changes | Persistence | When to use it |
|---|---|---|---|
timedatectl set-timezone Region/City |
System timezone | Persistent across reboot | Standard choice on systemd-based CentOS and RHEL. |
Editing or replacing /etc/localtime |
Timezone data link or file | Usually persistent, but implementation-dependent | Legacy systems or tightly controlled compatibility procedures. |
chronyc runtime commands |
Running chronyd state or clock behavior | Not persistent after chronyd restart unless also configured | Temporary diagnostics or immediate runtime adjustments. |
/etc/chrony.conf |
Chrony sources and policy | Persistent | Permanent synchronization configuration. |
Older CentOS 6 instructions commonly changed /etc/localtime directly, either by replacing the file or making it a symbolic link to a zone file. That technique is not the preferred workflow on systemd-based CentOS. A Cirata vendor guide specifically warns that direct /etc/localtime changes caused problems with its replication products on CentOS 7 and recommends timedatectl there. Treat that as a product-specific compatibility warning, but it is a good reason to use the supported systemd interface whenever it is available.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Automation and repeatable administration
For a single host, run the commands interactively and verify the output. For fleets, make the desired zone an explicit configuration value and execute the same idempotent operation on every host. A simple shell pattern is:
ZONE='America/Chicago'
timedatectl list-timezones | grep -Fx "$ZONE" >/dev/null || {
echo "Unknown timezone: $ZONE" >&2
exit 1
}
sudo timedatectl set-timezone "$ZONE"
timedatectl
The validation step prevents a typo from reaching the setter. In configuration-management systems, run the equivalent module or command with privilege escalation, then collect timedatectl output as a post-change check. Keep timezone policy separate from chrony source configuration so a playbook does not accidentally change clock synchronization while fixing local display time.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Troubleshooting
“Unknown time zone” or an invalid argument
The name is not present in the host’s timezone list, or it was typed with the wrong case or separator. Run timedatectl list-timezones, search for the city, and copy the exact returned value. Do not substitute a three-letter abbreviation or invent a slash path.
timedatectl is not found
The host may be an older release, a non-systemd environment, or a stripped-down container. Confirm the release and init system first. On systems that genuinely require a legacy method, consult that release’s documentation for how /etc/localtime is managed. Do not apply an old CentOS 6 recipe to a CentOS 7 or newer system without checking software compatibility.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Permission denied
Changing the system timezone requires administrative privileges. Prefix the setter with sudo, or run it from a root shell. If sudo itself is unavailable, use the approved privileged access method for that server rather than changing files manually as an unprivileged user.
The displayed time is still wrong
First distinguish an offset problem from a clock problem. If the Time zone line is correct but the instant is wrong, inspect synchronization status and chronyd. If UTC is correct but local time is not, recheck the selected IANA name and daylight-saving rules. Compare date and date -u and inspect application-specific timezone settings; some programs deliberately use their own configuration or UTC regardless of the host setting.
Scheduled jobs moved by an hour
A timezone change can alter recurring local-time schedules around daylight-saving transitions. Review cron entries, systemd timers, application schedulers, and maintenance windows after the change. Where a job must run at a fixed interval or at a globally consistent instant, define it in UTC or use the scheduler’s documented timezone feature instead of relying on an implicit host default.
Logs from different servers do not line up
Check both the timezone policy and clock synchronization on every host. A one-hour or several-hour difference may be a timezone mismatch; a changing or irregular difference may indicate clock drift. Standardize the policy, synchronize clocks with chrony, and document whether log aggregation normalizes events to UTC.
Free tools Windows power users keep installed
One-click scans. No signup required.
Quick Recap
Operational checklist
- Decide whether the host policy is UTC or a specific civil-time region.
- Run
timedatectland record the current timezone and synchronization state. - Find the exact IANA name with
timedatectl list-timezones. - Apply
sudo timedatectl set-timezone Region/City. - Verify the
Time zoneline and comparedatewithdate -u. - Check chrony separately when the clock itself is inaccurate.
- Persist permanent synchronization changes in
/etc/chrony.conf, not only through a temporarychronyccommand. - Review schedulers, logs, monitoring, certificates, and applications that depend on local time.
- Record the selected zone in the server inventory and automation so replacement hosts match.
CentOS and Linux server command reference
| Goal | Command |
|---|---|
| Show current time, zone, and NTP state | timedatectl |
| List every available IANA zone | timedatectl list-timezones |
| Search for a location | timedatectl list-timezones | grep <City> |
| Set the timezone | sudo timedatectl set-timezone Region/City |
| Show local time | date |
| Show UTC | date -u |
| Inspect chronyd | systemctl status chronyd |
| Store permanent chrony policy | /etc/chrony.conf |
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




