Package: kwb.datetime 0.5.0

Hauke Sonnenberg

kwb.datetime: Functions for date/time objects

Functions for date/time objects, e.g. functions to convert timestamps between different time zones. Correctness for some functions still to be verified!

Authors:Hauke Sonnenberg [aut, cre], Michael Rustler [ctb], Kompetenzzentrum Wasser Berlin gGmbH [cph]

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

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

Peer review:

Bug tracker:https://github.com/kwb-r/kwb.datetime/issues

On CRAN:

datetime

4.98 score 32 packages 5 scripts 32 exports 1 dependencies

Last updated 4 years agofrom:5f2b2c4c25. Checks:1 OK, 7 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 30 2025
R-4.5-winERRORJan 30 2025
R-4.5-macERRORJan 30 2025
R-4.5-linuxERRORJan 30 2025
R-4.4-winERRORJan 30 2025
R-4.4-macERRORJan 30 2025
R-4.3-winERRORJan 30 2025
R-4.3-macERRORJan 30 2025

Exports:berlinNormalTimeToBerlinLocalTimeberlinNormalTimeToUTCcurrentDateStringcurrentQuartercurrentYeardate_range_CESTdaysPerMonthgetEqualStepRangesgetTimestampSummarygetTimestepInSecondshasTimeFormathsDateStrhsToPosixhsTsInintervalKeyisoToLocaltimeisValidTimestampSequencematchingTimeFormatminTimeStepreformatTimestampresetTimePartroundTimesequenceOfTimestampsstringToPosixtextToEuropeBerlinPosixtimesAroundClockChangetimestampInto.GMT.plus.1toGmtRelativePosixtoUTCutcOffsetutcOffsetBerlinTime

Dependencies:kwb.utils

Converting Text to Time Objects

Rendered fromtext_to_posixct.Rmdusingknitr::rmarkdownon Jan 30 2025.

Last update: 2021-07-07
Started: 2019-10-13

Exkurs Zeitzonen (in German)

Rendered fromtimezones.Rmdusingknitr::rmarkdownon Jan 30 2025.

Last update: 2021-07-07
Started: 2019-04-03

Readme and manuals

Help Manual

Help pageTopics
berlinNormalTimeToBerlinLocalTimeberlinNormalTimeToBerlinLocalTime
berlinNormalTimeToUTCberlinNormalTimeToUTC
String representing the current DatecurrentDateString
Number of current QuartercurrentQuarter
Current Year (as numeric)currentYear
When does Summer Time start / end?date_range_CEST
Number of Days in the Month of the given DatedaysPerMonth
Sequences of Date Time Objects With Equal Time StepgetEqualStepRanges
Summary about a Sequence of (Text) TimestampsgetTimestampSummary
Get Time Step in SecondsgetTimestepInSeconds
Do Timestamps have the expected Format?hasTimeFormat
Timestamp or Date Object to String in format yyyy-mm-ddhsDateStr
Conversion to POSIXthsToPosix
Deprecated use 'timestampIn' insteadhsTsIn
Representative String for Part of TimestampintervalKey
Text Timestamps to POSIXctisoToLocaltime
Check Sequence of Timestamps for ValidityisValidTimestampSequence
Find Time Format matching a TimestampmatchingTimeFormat
Minimum Time Step in Sequence of TimestampsminTimeStep
Convert Timstamp String from one Format to anotherreformatTimestamp
Timestamp complying with Time SteproundTime
Create a Sequence of TimestampssequenceOfTimestamps
Convert a Time String to a POSIXct ObjectstringToPosix
Test Time Conversion Functionstest_TimeConversionFunctions
Convert Text Timestamps to POSIXct ObjectstextToEuropeBerlinPosix
Times Around Clock Change in Central EuropetimesAroundClockChange
Timestamps within Time Interval?timestampIn
Character Timestamps to POSIXct Objects (GMT+1)to.GMT.plus.1
Character Timestamps to POSIXct Objects (GMT+_offset_)toGmtRelativePosix
Convert POSIXt Object to UTC Time ZonetoUTC
Get UTC Offset from Local and UTC Timestamp (Character)utcOffset
UTC Offsets of Berlin Local TimestampsutcOffsetBerlinTime