Date & Time Utilities
Date parsing + formatting, duration arithmetic, time-zone-safe comparisons, business-day calculations with configurable holidays, relative-time expressions ("next Monday at 9am"), and human-readable duration formatting. The layer that prevents off-by-one bugs across DST boundaries and locale differences.
Projects
Packages (17)
- @philiprehberger/dotnet-cron-expressiondotnet
Parse, validate, and evaluate cron expressions with next/previous occurrence calculation, shortcut aliases, fluent builder, human-readable descriptions, timezone-aware scheduling, exclusion calendars, and Nth weekday support.
- @philiprehberger/dotnet-date-rangedotnet
Immutable date/time range type with overlap detection, intersection, union, gap finding, and splitting.
- @philiprehberger/go-timeutilgo
Time manipulation helpers for Go — boundaries, comparisons, and human-readable formatting
- @philiprehberger/go-validatexgo
Struct validation library for Go using struct tags. Zero external dependencies
- @philiprehberger/kt-duration-fmtkotlin
Human-readable duration formatting and parsing for Kotlin.
- @philiprehberger/cron-expression-builderphp
Fluent cron expression builder with human-readable methods
- @philiprehberger/laravel-db-expressionsphp
Database-agnostic SQL expression helper for date truncation, extraction, and differences across SQLite and MySQL
- @philiprehberger/php-human-durationphp
Convert seconds into human-readable duration strings
- @philiprehberger/py-datetime-kitpython
Common datetime operations missing from the standard library.
- @philiprehberger/py-durationpython
Parse and format human-readable duration strings like \
- @philiprehberger/py-email-validatepython
Email validation with syntax checking and normalization.
- @philiprehberger/rb-date-kitruby
Date utilities for business days, relative expressions, and period calculations
- @philiprehberger/rb-durationruby
Immutable Duration value object with parsing, arithmetic, and formatting
- @philiprehberger/rs-date-utilsrust
Date and time utilities — business days, date ranges, holiday calendars, and formatting shortcuts
- @philiprehberger/rs-duration-fmtrust
Human-readable duration formatting and parsing
- @philiprehberger/date-range-tstypescript
Date range operations — overlap, gap, iterate, merge
- @philiprehberger/duration-tstypescript
Parse, format, and manipulate time durations