Time zone
A time zone is a geographic or rule-defined context whose rules determine local civil time relative to a reference time standard.
Rust in Action: Systems programming concepts and techniques
A time zone is a regional convention associating local civil times with offsets or rules relative to a reference time scale.
- How it is used
- Uses time zones to read local time and interpret user-supplied timestamps in a clock application.
- How deep it goes
- Defines time zones as political divisions and describes UTC-offset storage, without detailing regional rule databases.
- Examples
- Uses a local-time printing program and a user-supplied fixed-offset timestamp converted to local time.
- What you can do after
- Apply time zone handling via chrono to read local time and convert a fixed-offset timestamp for comparison.
Read how Rust in Action: Systems programming concepts and techniques explains time zone →
Modern C
UTC is Coordinated Universal Time, the internationally used reference time scale for civil timekeeping.
- How it is used
- Explains how C programs convert calendar timestamps between UTC and local time zones.
- How deep it goes
- Defines UTC and contrasts conversion functions, but defers detailed global-state interfaces and pointer rationale.
- Examples
- Uses gmtime_s, localtime_s, mktime, strftime, and format strings as concrete interfaces.
- What you can do after
- Apply C library conversions to represent a timestamp as UTC or local broken-down time and format it as text.
Learn C++ by Example
A time zone is a geographic or rule-defined region whose local civil time is determined by a particular offset and calendar-time rules.
- How it is used
- Adjusts countdowns and schedules so local clock changes produce physically accurate elapsed-time calculations.
- How deep it goes
- Explains named-zone conversion and sys_time arithmetic, while stopping short of the full chrono feature set.
- Examples
- Uses Europe/London, the 2022 British Summer Time transition, and a local countdown implementation.
- What you can do after
- Apply it via C++20 time-zone facilities or the date library to calculate daylight-saving-aware countdowns.
Troubleshooting Java, Second Edition
A time zone is a rule set that determines the local time offset and related date-time conventions for a geographic or system context.
- How it is used
- Standardizes log timestamps so developers can correlate past events during troubleshooting.
- How deep it goes
- Identifies timestamp mismatches and recommends consistent formats, stopping short of date-time implementation details.
- Examples
- Uses centralized logs from multiple regions and UTC standardization to illustrate event-correlation problems.
- What you can do after
- Diagnose misleading log timelines by checking and aligning the time zones of participating systems.
Read how Troubleshooting Java, Second Edition explains time zone →
Also covered in
- Effective Conversational AI
- Think Like a Software Engineering Manager
- .NET in Action, Second Edition
- Acing the CCNA Exam: Volume 2 Advanced Networking and Security
- Just Use Postgres!
- Grokking Relational Database Design
- PostgreSQL Mistakes and How to Avoid Them
- Practical Automation with PowerShell: Effective scripting from the console to the cloud
- Learn AI Data EngineeringIn early access (MEAP)
- React in Depth
- Learn Rust in a Month of Lunches
- Kubernetes in Action, Second Edition
What to know first
- timestampA timestamp is a value representing a specific point in time, commonly associated with an event or data item.
- conversational aiConversational AI is artificial intelligence that enables software systems to interpret user input and interact with users through natural-language dialogue.
- ISO 8601ISO 8601 is an international standard for representing dates, times, time zones, durations, and intervals in unambiguous textual formats.
Related concepts
- timestampconfigures · A timestamp is a value representing a specific point in time, commonly associated with an event or data item.
- clock timezoneconfigured by · clock timezone is a Cisco IOS global configuration command that sets a device's time-zone name and offset from UTC.
Questions about time zone
What is time zone?
A time zone is a geographic or rule-defined context whose rules determine local civil time relative to a reference time standard.
Which Manning books explain time zone?
Rust in Action: Systems programming concepts and techniques, Modern C, Learn C++ by Example and Troubleshooting Java, Second Edition.
What should I know before learning time zone?
Manning books that teach time zone usually introduce timestamp, atomic clock, conversational ai and ISO 8601 first.
What kinds of time zone are there?
Kinds of time zone include FixedOffset.
What is time zone a kind of?
Time zone is a kind of political division. A political division is a geographic area defined by political or administrative boundaries.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



