theRefdate: Simple and Fast Date Manipulation on Character Strings

Provides simple and fast date manipulation functions operating on character strings in one of three formats: 'DD.MM.YYYY' (default), 'YYYY-MM-DD' or 'YYYYMMDD'. The format is chosen once per R session. Functions include extraction of day, month, and year components, computation of differences between two dates, and addition or subtraction of months. "DD" is ignored in the calculations, therefore a date like 31.02.2026 is a valid in- or output. That's why it is so fast.

Version: 1.1.0
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-10-16
DOI: 10.32614/CRAN.package.theRefdate
Author: Prem Lueers ORCID iD [aut, cre]
Maintainer: Prem Lueers <prem at lueers.net>
License: LGPL-3
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: theRefdate results

Documentation:

Reference manual: theRefdate.html , theRefdate.pdf
Vignettes: Introduction to theRefdate (source, R code)

Downloads:

Package source: theRefdate_1.1.0.tar.gz
Windows binaries: r-devel: theRefdate_1.1.0.zip, r-release: theRefdate_1.1.0.zip, r-oldrel: theRefdate_1.1.0.zip
macOS binaries: r-release (arm64): theRefdate_1.1.0.tgz, r-oldrel (arm64): theRefdate_1.1.0.tgz, r-release (x86_64): theRefdate_1.1.0.tgz, r-oldrel (x86_64): theRefdate_1.1.0.tgz
Old sources: theRefdate archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=theRefdate to link to this page.