🍺 BREW Explorer

← all formulae

howard-hinnant-date

brew install howard-hinnant-date v3.0.4 MIT

C++ library for date and time operations based on <chrono>

42
30-day installs · #5058
118
90-day · #5241
561
365-day · #4875
3.4k
★ GitHub stars · updated 4mo ago

Build dependencies

GitHub topics

calendar date datetime iana-database time timezone timezone-library

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C++ library for date and time operations based on \u003cchrono\u003e",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:40+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "howard-hinnant-date",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-04-16T20:28:41Z",
  "github_readme_excerpt": "# Date\n\n[![Build Status](https://travis-ci.org/HowardHinnant/date.svg?branch=master)](https://travis-ci.org/HowardHinnant/date)\n[![Join the chat at https://gitter.im/HowardHinnant/date](https://badges.gitter.im/HowardHinnant/date.svg)](https://gitter.im/HowardHinnant/date?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n---\n\n**[Try it out on wandbox!](https://wandbox.org/permlink/oyXjibyF680HHoyS)**\n\n## Summary\n\nThis is actually several separate C++11/C++14/C++17 libraries:\n\n1. `\"date.h\"` is a header-only library which builds upon `\u003cchrono\u003e`.  It adds some new `duration` types, and new `time_point` types.  It also adds \"field\" types such as `year_month_day` which is a struct `{year, month, day}`.  And it provides convenient means to convert between the \"field\" types and the `time_point` types.\n\n    * Documentation: http://howardhinnant.github.io/date/date.html\n    * Video: https://www.youtube.com/watch?v=tzyGjOm8AKo\n    * Slides: http://schd.ws/hosted_files/cppcon2015/43/hinnant_dates.pdf\n\n1. `\"tz.h\"` / `\"tz.cpp\"`  are a timezone library built on top of the `\"date.h\"` library.  This timezone library is a complete parser of the IANA timezone database.  It provides for an easy way to access all of the data in this database, using the types from `\"date.h\"` and `\u003cchrono\u003e`.  The IANA database also includes data on leap seconds, and this library provides utilities to compute with that information as well.\n\n    * Documentation: http://howardhinnant.github.io/date/tz.html\n    * Video: https://www.youtube.com/watch?v=Vwd3pduVGKY\n    * Slides: http://schd.ws/hosted_files/cppcon2016/0f/Welcome%20To%20The%20Time%20Zone%20-%20Howard%20Hinnant%20-%20CppCon%202016.pdf\n\n1. `\"iso_week.h\"` is a header-only library built on top of the `\"date.h\"` library which implements the ISO week date calendar.\n\n    * Documentation: http://howardhinnant.github.io/date/iso_week.html\n\n1. `\"julian.h\"` is a header-only library built on top of the `\"date.h\"` library which impl",
  "github_repo": "HowardHinnant/date",
  "github_stars": 3418,
  "github_topics": [
    "calendar",
    "date",
    "datetime",
    "iana-database",
    "time",
    "timezone",
    "timezone-library"
  ],
  "homepage": "https://github.com/HowardHinnant/date",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 42,
  "installs_365d": 561,
  "installs_90d": 118,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "howard-hinnant-date",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 5058,
  "rank_365d": 4875,
  "rank_90d": 5241,
  "raw_hash": "2c8d627dad108350",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/howard-hinnant-date.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "3.0.4",
  "versioned_formulae": [],
  "why_use_this": null
}