# Install dateutils with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Tools to manipulate dates with a focus on financial data. Version 0.4.11 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:dateutils
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dateutils
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dateutils
```

  Evidence: MacPorts ports tree: sysutils/dateutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dateutils
```

  Evidence: Alpine Linux edge package indexes: dateutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dateutils
```

  Evidence: Debian stable package indexes: dateutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dateutils
```

  Evidence: Fedora Rawhide package metadata: dateutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dateutils
```

  Evidence: nixpkgs package indexes: pkgs/by-name/da/dateutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dateutils
```

  Evidence: Arch Linux sync databases: dateutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dateutils
```

  Evidence: openSUSE Tumbleweed package metadata: dateutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:dateutils
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dateutils>
- **Version:** 0.4.11
- **Source summary:** Tools to manipulate dates with a focus on financial data
- **Homepage:** <https://www.fresse.org/dateutils/>
- **Repository:** <https://github.com/hroptatyr/dateutils>
- **Upstream docs:** <https://github.com/hroptatyr/dateutils#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/hroptatyr/dateutils/releases/download/v0.4.11/dateutils-0.4.11.tar.xz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- dadd (cli)
- dateadd (cli)
- dateconv (cli)
- datediff (cli)
- dategrep (cli)
- dateround (cli)
- dateseq (cli)
- datesort (cli)
- datetest (cli)
- datezone (cli)
- dconv (cli)
- ddiff (cli)
- dgrep (cli)
- dround (cli)
- dseq (cli)
- dsort (cli)
- dtest (cli)
- dzone (cli)
- strptime (cli)
- dadd (alias)
- dateadd (alias)
- dateconv (alias)
- datediff (alias)
- dategrep (alias)
- dateround (alias)
- dateseq (alias)
- datesort (alias)
- datetest (alias)
- datezone (alias)
- dconv (alias)
- ddiff (alias)
- dgrep (alias)
- dround (alias)
- dseq (alias)
- dsort (alias)
- dtest (alias)
- dzone (alias)
- strptime (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.4.11
- Local data: ok
- Upstream repository: https://github.com/hroptatyr/dateutils
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

dateutils is a collection of command-line tools for date and time calculation, conversion, filtering, sorting, and comparison.

### Project history

The project is maintained by Sebastian Freundt and presents itself as a Unix command family for date/time manipulation, with commands that intentionally resemble familiar shell tools.

### Adoption history

The official homepage lists native packages across Linux distributions and BSD variants, which matches its role as a small system utility rather than an application framework.

### How it is used

Package users reach for commands such as `dateadd`, `dateconv`, `datediff`, `dategrep`, `dateseq`, and `datesort` when shell scripts need calendar-aware operations without embedding custom date logic.

### Why package nerds care

dateutils is package-nerd candy because it does one old Unix thing well: it extends text pipelines with calendar semantics, especially for financial-data workflows where ordinary `date` and `seq` get awkward.

### Timeline

- 2010s: dateutils is distributed as a small command-line suite with upstream releases.
- 2014: The official homepage lists multiple distro and BSD package entries.
- 2020s: The GitHub repository remains the primary upstream source listed by the project.

### Related projects

- The tools are conceptually adjacent to Unix `date`, `seq`, `grep`, `sort`, and the C library `strptime` function.

### Sources

- <https://www.fresse.org/dateutils>
- <https://github.com/hroptatyr/dateutils/blob/master/README.md>
- <https://github.com/hroptatyr/dateutils/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dateutils
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - dateutils - 0.4.11-1: normalized package name match | Debian stable package indexes: dateutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | nifty command line date and time utilities | http://www.fresse.org/dateutils
- Nix - dateutils: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dateutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dateutils - 0.4.10-3: normalized package name match | Ubuntu 24.04 LTS package indexes: dateutils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | nifty command line date and time utilities | http://www.fresse.org/dateutils
- apk - dateutils - 0.4.11-r0: normalized package name match | Alpine Linux edge package indexes: dateutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utilities for fast date-time calculations and conversion | https://www.fresse.org/dateutils/
- apk - dateutils-doc - 0.4.11-r0: normalized package name match | Alpine Linux edge package indexes: dateutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utilities for fast date-time calculations and conversion (documentation) | https://www.fresse.org/dateutils/
- dnf - dateutils - 0.4.11-7.fc44: normalized package name match | Fedora Rawhide package metadata: dateutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command-line date and time calculation, conversion, and comparison | http://www.fresse.org/dateutils/
- pacman - dateutils - 0.4.11-3: normalized package name match | Arch Linux sync databases: dateutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | nifty command line date and time utilities; fast date calculations and conversion in the shell | https://www.fresse.org/dateutils/
- zypper - dateutils - 0.4.11-1.7: normalized package name match | openSUSE Tumbleweed package metadata: dateutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Command line date and time utilities | https://github.com/hroptatyr/dateutils/
- zypper - dateutils-octave - 0.4.11-1.7: normalized package name match | openSUSE Tumbleweed package metadata: dateutils-octave from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Dateutils functions for matlab and octave | https://github.com/hroptatyr/dateutils/
- MacPorts - dateutils: normalized package name match | MacPorts ports tree: sysutils/dateutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cctz](https://www.automicvault.com/pkg/brew/cctz/) - Shares av.db curated category or tags: cli, date-time, developer-tools.
- [timezone-support](https://www.automicvault.com/pkg/npm/timezone-support/) - Local package facts share a topical domain. Shared terms: cli, data, date, developer, developer-tools.
- [csvprintf](https://www.automicvault.com/pkg/brew/csvprintf/) - Local package facts share a topical domain. Shared terms: cli, data, developer, developer-tools, unix.

## Combined YAML source

View the package source record on GitHub. [combined/dateutils.yml](https://github.com/automic-vault/db/blob/main/combined/dateutils.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
