Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Pascal
  3. TZDB

TZDB

BSD-3-ClausePascal2.1.3.2026a

An offline, compiled IANA time zone database for Delphi and FreePascal applications.

Visit WebsiteGitHubGitHub
104 stars39 forks0 contributors

What is TZDB?

TZDB is an offline, in-process compiled database for IANA's Time Zone Database, designed for Delphi and FreePascal. It provides reliable time zone conversion and calculation capabilities without requiring external services or runtime dependencies, solving the problem of accurate time zone handling in Pascal applications.

Target Audience

Delphi and FreePascal developers who need to handle time zones accurately in their applications, especially those requiring offline functionality or avoiding external dependencies.

Value Proposition

Developers choose TZDB for its simplicity, small footprint, and comprehensive API that includes Windows time zone alias support, making it a robust, self-contained alternative to manual time zone implementations or online services.

Overview

Delphi/FPC Time Zone Database

Use Cases

Best For

  • Handling time zone conversions in offline Delphi applications
  • Converting between Windows time zone names and IANA identifiers
  • Managing daylight saving time (DST) transitions accurately
  • Embedding time zone data without external dependencies
  • Developing cross-platform Pascal applications with consistent time zone handling
  • Avoiding network calls for time zone lookups in desktop software

Not Ideal For

  • Applications requiring real-time updates to time zone data, as TZDB's compiled database has a 1-2 week delay after IANA releases.
  • Projects handling historical or future dates beyond the database's covered year range, which could trigger EUnknownTimeZoneYear exceptions.
  • Teams using programming languages other than Pascal, since TZDB is specifically designed for Delphi and FreePascal only.
  • Systems where minimizing exception handling is critical, due to potential for invalid or ambiguous time errors that must be actively managed.

Pros & Cons

Pros

Offline Reliability

Provides accurate time zone conversions without network dependencies, ensuring functionality in disconnected environments, as highlighted in the offline operation feature.

Small Integration Footprint

Single-file implementation with a pre-compiled database makes it easy to add to projects without external dependencies, reducing setup complexity.

Windows Alias Support

Seamlessly converts between Windows time zone names and IANA identifiers using CLDR data, simplifying integration with Windows-based systems.

Comprehensive DST Handling

Includes methods like GetLocalTimeType to check for ambiguous and invalid times during daylight saving transitions, as demonstrated in the common examples.

Cons

Delayed Data Updates

The database is updated with a 1-2 week delay after IANA releases, and manual updates require specific tools like the Free Pascal compiler and update-compile.sh script.

Limited Date Range

Methods may throw EUnknownTimeZoneYear exceptions for dates outside the covered year range, requiring additional error handling in applications.

Pascal-Only Compatibility

Restricted to Delphi XE+ and FreePascal 3+, limiting its use in multi-language or non-Pascal projects and ecosystems.

Frequently Asked Questions

Quick Stats

Stars104
Forks39
Contributors0
Open Issues3
Last commit10 days ago
CreatedSince 2014

Tags

#time-zone#date-time#offline#pascal#delphi#freepascal#pascal-library#iana#fpc#iana-tzdb

Built With

D
Delphi
F
FreePascal

Links & Resources

Website

Included in

Pascal2.0k
Auto-fetched 1 day ago

Related Projects

LAMWLAMW

LAMW: Lazarus Android Module Wizard: Form Designer and Components development model!

Stars294
Forks91
Last commit3 months ago
Markdown Processor for PascalMarkdown Processor for Pascal

delphi-markdown is a Pascal library that processes Markdown text and converts it to HTML. It provides native Markdown processing capabilities for Delphi and Free Pascal (FPC) applications, enabling developers to incorporate rich text formatting without relying on external dependencies. ## Key Features - **Multiple Dialect Support** — Processes Daring Fireball Markdown, CommonMark (partial), and GitHub Flavored Markdown - **Unicode Compatibility** — Works with any Unicode version of Delphi and cross-platform FPC - **Safety Controls** — Optional unsafe mode for active content with security warnings - **Comprehensive Testing** — Includes unit tests and CommonMark specification tests - **Cross-Platform** — Tested on Windows, Linux, and macOS with FPC ## Philosophy The library focuses on providing reliable, well-tested Markdown processing for Pascal developers while maintaining clear safety boundaries around potentially dangerous content.

Stars230
Forks70
Last commit1 year ago
TRegExprTRegExpr

Regular expressions (regex), pascal.

Stars193
Forks70
Last commit3 months ago
GpDelphiUnitsGpDelphiUnits

A collection of my open sourced Delphi units

Stars190
Forks63
Last commit9 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub