Provides a comprehensive library for date-time manipulations using a new family of orthogonal date-time classes (durations, time points, zoned-times, and calendars) that partition responsibilities so that the complexities of time zones are only considered when they are really needed. Capabilities include: date-time parsing, formatting, arithmetic, extraction and updating of components, and rounding.
| Version: | 0.7.3 | 
| Depends: | R (≥ 4.0.0) | 
| Imports: | cli (≥ 3.6.4), lifecycle (≥ 1.0.4), rlang (≥ 1.1.5), tzdb (≥ 0.5.0), vctrs (≥ 0.6.5) | 
| LinkingTo: | cpp11 (≥ 0.5.2), tzdb (≥ 0.5.0) | 
| Suggests: | covr, knitr, magrittr, pillar, rmarkdown, slider (≥ 0.3.2), testthat (≥ 3.0.0), withr | 
| Published: | 2025-03-21 | 
| DOI: | 10.32614/CRAN.package.clock | 
| Author: | Davis Vaughan [aut, cre], Posit Software, PBC [cph, fnd] | 
| Maintainer: | Davis Vaughan <davis at posit.co> | 
| BugReports: | https://github.com/r-lib/clock/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://clock.r-lib.org, https://github.com/r-lib/clock | 
| NeedsCompilation: | yes | 
| Materials: | README, NEWS | 
| In views: | TimeSeries | 
| CRAN checks: | clock results | 
| Reference manual: | clock.html , clock.pdf | 
| Vignettes: | Getting Started (source, R code) Frequently Asked Questions (source, R code) Examples and Recipes (source, R code) | 
| Package source: | clock_0.7.3.tar.gz | 
| Windows binaries: | r-devel: clock_0.7.3.zip, r-release: clock_0.7.3.zip, r-oldrel: clock_0.7.3.zip | 
| macOS binaries: | r-release (arm64): clock_0.7.3.tgz, r-oldrel (arm64): clock_0.7.3.tgz, r-release (x86_64): clock_0.7.3.tgz, r-oldrel (x86_64): clock_0.7.3.tgz | 
| Old sources: | clock archive | 
| Reverse imports: | actxps, bigrquery, CodelistGenerator, CohortCharacteristics, CohortConstructor, CohortSurvival, cookies, datetimeoffset, DrugUtilisation, healthdb, IncidencePrevalence, OmopConstructor, OmopSketch, PatientProfiles, recipes, weatherOz | 
| Reverse suggests: | CDMConnector, duckdb, ivs, stats19 | 
Please use the canonical form https://CRAN.R-project.org/package=clock to link to this page.