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.7)kwb.datetime_0.5.0.zip(r-4.6)kwb.datetime_0.5.0.zip(r-4.5)
kwb.datetime_0.5.0.tgz(r-4.6-any)kwb.datetime_0.5.0.tgz(r-4.5-any)
kwb.datetime_0.5.0.tar.gz(r-4.7-any)kwb.datetime_0.5.0.tar.gz(r-4.6-any)
kwb.datetime_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
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'))

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

On CRAN:

Conda:

datetime

4.94 score 29 packages 5 scripts 32 exports 1 dependencies

Last updated from:5f2b2c4c25. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR133
source / vignettesOK168
linux-release-x86_64ERROR140
macos-release-arm64ERROR87
macos-oldrel-arm64ERROR86
windows-develERROR90
windows-releaseERROR87
windows-oldrelERROR91
wasm-releaseOK97

Exports:berlinNormalTimeToBerlinLocalTimeberlinNormalTimeToUTCcurrentDateStringcurrentQuartercurrentYeardate_range_CESTdaysPerMonthgetEqualStepRangesgetTimestampSummarygetTimestepInSecondshasTimeFormathsDateStrhsToPosixhsTsInintervalKeyisoToLocaltimeisValidTimestampSequencematchingTimeFormatminTimeStepreformatTimestampresetTimePartroundTimesequenceOfTimestampsstringToPosixtextToEuropeBerlinPosixtimesAroundClockChangetimestampInto.GMT.plus.1toGmtRelativePosixtoUTCutcOffsetutcOffsetBerlinTime

Dependencies:kwb.utils

Converting Text to Time Objects

Rendered fromtext_to_posixct.Rmdusingknitr::rmarkdownon May 05 2026.

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

Exkurs Zeitzonen (in German)

Rendered fromtimezones.Rmdusingknitr::rmarkdownon May 05 2026.

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