Time zone
A time zone is a geographic or rule-defined region whose local civil time is determined by offsets and calendar-time rules 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
- Places system timestamps in local civil-time context for a Rust clock and NTP-client project.
- How deep it goes
- Defines time zones as political divisions, sketches UTC-second offsets, and demonstrates typed timestamps without detailing regional rules.
- Examples
- Uses a `Local::now()` clock and a command-line time-setting flow that converts `FixedOffset` to `Local`.
- What you can do after
- Apply it via chrono to print local timestamps and convert user-supplied fixed-offset times 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 →
Related concepts
- timestampconfigures · A timestamp is a value representing a specific point in time, typically associated with an event, observation, 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.
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.



