Package: datetime 0.1.4

datetime: Nominal Dates, Times, and Durations

Provides methods for working with nominal dates, times, and durations. Base R has sophisticated facilities for handling time, but these can give unexpected results if, for example, timezone is not handled properly. This package provides a more casual approach to support cases which do not require rigorous treatment. It systematically deconstructs the concepts origin and timezone, and de-emphasizes the display of seconds. It also converts among nominal durations such as seconds, hours, days, and weeks. See '?datetime' and '?duration' for examples. Adapted from 'metrumrg' <http://r-forge.r-project.org/R/?group_id=1215>.

Authors:Tim Bergsma

datetime_0.1.4.tar.gz
datetime_0.1.4.zip(r-4.5)datetime_0.1.4.zip(r-4.4)datetime_0.1.4.zip(r-4.3)
datetime_0.1.4.tgz(r-4.4-any)datetime_0.1.4.tgz(r-4.3-any)
datetime_0.1.4.tar.gz(r-4.5-noble)datetime_0.1.4.tar.gz(r-4.4-noble)
datetime_0.1.4.tgz(r-4.4-emscripten)datetime_0.1.4.tgz(r-4.3-emscripten)
datetime.pdf |datetime.html
datetime/json (API)

# Install 'datetime' in R:
install.packages('datetime', repos = c('https://bergsmat.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.00 score 50 scripts 766 downloads 2 mentions 87 exports 0 dependencies

Last updated 6 years agofrom:86fe42eb2e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winOKNov 15 2024
R-4.5-linuxOKNov 15 2024
R-4.4-winNOTENov 15 2024
R-4.4-macNOTENov 15 2024
R-4.3-winNOTENov 15 2024
R-4.3-macNOTENov 15 2024

Exports:-.timeline[.timeline[[.timeline[<-.timepoint+.timelineas.character.timepointas.chartimeas.chartime.numericas.dateas.date.characteras.date.dateas.date.Dateas.date.datesas.date.numericas.date.sasdateas.datetimeas.datetime.characteras.datetime.chronas.datetime.dateas.datetime.datetimeas.datetime.numericas.datetime.POSIXctas.datetime.POSIXltas.dayas.day.dayas.day.durationas.day.houras.day.monthas.day.numericas.day.weekas.day.yearas.houras.hour.dayas.hour.durationas.hour.houras.hour.minuteas.hour.numericas.hour.secondas.minuteas.minute.durationas.minute.houras.minute.minuteas.minute.numericas.minute.secondas.monthas.month.dayas.month.durationas.month.monthas.month.numericas.numeric.chartimeas.secondas.second.dayas.second.durationas.second.houras.second.minuteas.second.numericas.second.secondas.timeas.time.characteras.time.numericas.time.timeas.time.timesas.weekas.week.dayas.week.durationas.week.numericas.week.weekas.yearas.year.dayas.year.durationas.year.numericas.year.yearc.timelineformat.dateformat.datetimeformat.durationformat.timeprint.durationprint.timepointrep.timelineseq.timelineSummary.timepointtoSAS.datetoSAS.datetimetoSAS.timeunique.timepointxtfrm.timepoint

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Interconvert Nominal Time Unitsas.day as.day.day as.day.duration as.day.hour as.day.month as.day.numeric as.day.week as.day.year as.hour as.hour.day as.hour.duration as.hour.hour as.hour.minute as.hour.numeric as.hour.second as.minute as.minute.duration as.minute.hour as.minute.minute as.minute.numeric as.minute.second as.month as.month.day as.month.duration as.month.month as.month.numeric as.second as.second.day as.second.duration as.second.hour as.second.minute as.second.numeric as.second.second as.week as.week.day as.week.duration as.week.numeric as.week.week as.year as.year.day as.year.duration as.year.numeric as.year.year duration format.duration print.duration
Support for timepoint Classesas.character.timepoint as.chartime as.chartime.numeric as.numeric.chartime c.timeline print.timepoint rep.timeline seq.timeline [.timeline [<-.timepoint [[.timeline
Temporal Classes with Selective Defaults+.timeline -.timeline as.date as.date.character as.date.Date as.date.date as.date.dates as.date.numeric as.date.sasdate as.datetime as.datetime.character as.datetime.chron as.datetime.date as.datetime.datetime as.datetime.numeric as.datetime.POSIXct as.datetime.POSIXlt as.time as.time.character as.time.numeric as.time.time as.time.times date datetime format.date format.datetime format.time Summary.timepoint time timeline timepoint unique.timepoint xtfrm.timepoint
Convert Timepoint to SAS FormattoSAS.date toSAS.datetime toSAS.time