lubridate: Make Dealing with Dates a Little Easier

Share:

Functions to work with date-times and time-spans: fast and user friendly parsing of date-time data, extraction and updating of components of a date-time (years, months, days, hours, minutes, and seconds), algebraic manipulation on date-time and time-span objects. The 'lubridate' package has a consistent and memorable syntax that makes working with dates easy and fun.

Author
Garrett Grolemund [aut], Vitalie Spinu [aut, cre], Hadley Wickham [aut], Ian Lyttle [ctb], Imanuel Constigan [ctb], Jason Law [ctb], Doug Mitarotonda [ctb], Joseph Larmarange [ctb], Jonathan Boiser [ctb], Chel Hee Lee [ctb]
Date of publication
2016-09-13 13:11:52
Maintainer
Vitalie Spinu <spinuvit@gmail.com>
License
GPL-2
Version
1.6.0

View on CRAN

Man pages

am
Does date time occur in the am or pm?
as_date
Convert an object to a date or date-time
as.duration
Change an object to a duration.
as.interval
Change an object to an 'interval'.
as.period
Change an object to a period.
date
Get/set Date component of a date-time.
DateCoercion
Convert a variety of date-time classes to POSIXlt and POSIXct
date_decimal
Converts a decimal to a date.
DateUpdate
Changes the components of a date object
day
Get/set days component of a date-time.
days_in_month
Get the number of days in the month of a date-time.
decimal_date
Converts a date to a decimal of its year.
Deprecated
Deprecated function in 'lubridate' package
dst
Get Daylight Savings Time indicator of a date-time.
duration
Create a duration object.
Duration-class
Duration class
fit_to_timeline
Fit a POSIXlt date-time to the timeline
force_tz
Replace time zone to create new date-time
guess_formats
Guess formats from the supplied date-time character vector.
hidden_aliases
Internal page for hidden aliases
hms
Create a period with the specified hours, minutes, and...
hour
Get/set hours component of a date-time.
interval
Utilities for creation and manipulation of 'Interval'...
Interval-class
Interval class
is.Date
Is x a Date object?
is.difftime
Is x a difftime object?
is.instant
Is x a date-time object?
is.POSIXt
Is x a POSIXct or POSIXlt object?
is.timespan
Is x a length of time?
lakers
Lakers 2008-2009 basketball data set
leap_year
Is a year a leap year?
lubridate-package
Dates and times made easy with lubridate
make_datetime
Efficient creation of date-times from numeric representations
make_difftime
Create a difftime object.
minute
Get/set minutes component of a date-time.
month
Get/set months component of a date-time.
mplus
Add and subtract months to a date without exceeding the last...
now
The current time
origin
1970-01-01 UTC
parse_date_time
Parse character and numeric date-time vectors with user...
period
Create a period object.
Period-class
Period class
period_to_seconds
Contrive a period to/from a given number of seconds.
pretty_dates
Computes attractive axis breaks for date-time data
quarter
Get the fiscal quarter and semester of a date-time.
quick_durations
Quickly create duration objects.
quick_periods
Quickly create period objects.
reclass_date
Convenience method to reclass dates post-modification.
reclass_timespan
Convenience method to reclass timespans post-modification.
rollback
Roll back date to last day of previous month
round_date
Round, floor and ceiling methods for date-time objects.
second
Get/set seconds component of a date-time.
stamp
Format dates and times based on human-friendly templates.
time_length
Compute the exact length of a time span.
timespan
Description of time span classes in lubridate.
Timespan-class
Timespan class
today
The current date
tz
Get/set time zone component of a date-time.
week
Get/set weeks component of a date-time.
within-interval
Tests whether a date or interval falls within an interval
with_tz
Get date-time in a different time zone
year
Get/set years component of a date-time.
ymd
Parse dates according to the order in that year, month, and...
ymd_hms
Parse dates that have hours, minutes, or seconds elements.

Files in this package

lubridate
lubridate/po
lubridate/po/R-lubridate.pot
lubridate/po/R-it.po
lubridate/po/R-ko.po
lubridate/inst
lubridate/inst/CITATION
lubridate/inst/doc
lubridate/inst/doc/lubridate.Rmd
lubridate/inst/doc/lubridate.R
lubridate/inst/doc/lubridate.html
lubridate/tests
lubridate/tests/testthat.R
lubridate/tests/testthat
lubridate/tests/testthat/test-ops-integer-division.R
lubridate/tests/testthat/test-utilities.R
lubridate/tests/testthat/test-ops-addition.R
lubridate/tests/testthat/test-ops-subtraction.R
lubridate/tests/testthat/test-daylight-savings.R
lubridate/tests/testthat/test-instants.R
lubridate/tests/testthat/test-Dates.R
lubridate/tests/testthat/test-ops-division.R
lubridate/tests/testthat/test-round.R
lubridate/tests/testthat/test-settors.R
lubridate/tests/testthat/test-ops-modulo.R
lubridate/tests/testthat/test-ops-multiplication.R
lubridate/tests/testthat/test-timezones.R
lubridate/tests/testthat/test-accessors.R
lubridate/tests/testthat/test-durations.R
lubridate/tests/testthat/test-POSIXt.R
lubridate/tests/testthat/test-decimal-date.R
lubridate/tests/testthat/test-stamp.R
lubridate/tests/testthat/test-timespans.R
lubridate/tests/testthat/test-rollback.R
lubridate/tests/testthat/test-update.R
lubridate/tests/testthat/test-pretty.R
lubridate/tests/testthat/test-intervals.R
lubridate/tests/testthat/test-periods.R
lubridate/tests/testthat/test-difftimes.R
lubridate/tests/testthat/test-parsers.R
lubridate/tests/testthat/test-guess.R
lubridate/tests/testthat/test-ops-compare.R
lubridate/tests/testthat/test-am-pm.R
lubridate/src
lubridate/src/constants.h
lubridate/src/utils.c
lubridate/src/utils.h
lubridate/src/tparse.c
lubridate/src/datetime.c
lubridate/src/period.c
lubridate/NAMESPACE
lubridate/NEWS.md
lubridate/data
lubridate/data/lakers.rda
lubridate/R
lubridate/R/hidden.r
lubridate/R/ops-addition.r
lubridate/R/ops-subtraction.r
lubridate/R/periods.r
lubridate/R/difftimes.r
lubridate/R/am-pm.r
lubridate/R/ops-modulo.r
lubridate/R/accessors-month.r
lubridate/R/timespans.r
lubridate/R/accessors-date.R
lubridate/R/accessors-quarter.r
lubridate/R/ops-integer-division.r
lubridate/R/POSIXt.r
lubridate/R/accessors-dst.r
lubridate/R/constants.r
lubridate/R/accessors-second.r
lubridate/R/ops-multiplication.r
lubridate/R/accessors-day.r
lubridate/R/accessors-hour.r
lubridate/R/durations.r
lubridate/R/stamp.r
lubridate/R/accessors-minute.r
lubridate/R/Dates.r
lubridate/R/coercion.r
lubridate/R/help.r
lubridate/R/leap-years.r
lubridate/R/time-zones.r
lubridate/R/guess.r
lubridate/R/update.r
lubridate/R/util.r
lubridate/R/accessors-week.r
lubridate/R/decimal-dates.r
lubridate/R/numeric.r
lubridate/R/instants.r
lubridate/R/round.r
lubridate/R/ops-%m+%.r
lubridate/R/parse.r
lubridate/R/accessors-year.r
lubridate/R/data.r
lubridate/R/ops-compare.r
lubridate/R/deprecated.r
lubridate/R/pretty.r
lubridate/R/ops-division.r
lubridate/R/intervals.r
lubridate/R/accessors-tz.r
lubridate/vignettes
lubridate/vignettes/lubridate.Rmd
lubridate/README.md
lubridate/MD5
lubridate/build
lubridate/build/vignette.rds
lubridate/DESCRIPTION
lubridate/man
lubridate/man/dst.Rd
lubridate/man/timespan.Rd
lubridate/man/year.Rd
lubridate/man/hms.Rd
lubridate/man/reclass_date.Rd
lubridate/man/guess_formats.Rd
lubridate/man/pretty_dates.Rd
lubridate/man/decimal_date.Rd
lubridate/man/origin.Rd
lubridate/man/round_date.Rd
lubridate/man/stamp.Rd
lubridate/man/Timespan-class.Rd
lubridate/man/as.period.Rd
lubridate/man/quick_durations.Rd
lubridate/man/ymd_hms.Rd
lubridate/man/hidden_aliases.Rd
lubridate/man/quarter.Rd
lubridate/man/DateUpdate.Rd
lubridate/man/second.Rd
lubridate/man/is.POSIXt.Rd
lubridate/man/lakers.Rd
lubridate/man/days_in_month.Rd
lubridate/man/Deprecated.Rd
lubridate/man/is.timespan.Rd
lubridate/man/make_difftime.Rd
lubridate/man/interval.Rd
lubridate/man/fit_to_timeline.Rd
lubridate/man/is.difftime.Rd
lubridate/man/week.Rd
lubridate/man/tz.Rd
lubridate/man/date_decimal.Rd
lubridate/man/period_to_seconds.Rd
lubridate/man/lubridate-package.Rd
lubridate/man/Interval-class.Rd
lubridate/man/day.Rd
lubridate/man/month.Rd
lubridate/man/reclass_timespan.Rd
lubridate/man/is.instant.Rd
lubridate/man/now.Rd
lubridate/man/am.Rd
lubridate/man/hour.Rd
lubridate/man/as.interval.Rd
lubridate/man/today.Rd
lubridate/man/is.Date.Rd
lubridate/man/leap_year.Rd
lubridate/man/force_tz.Rd
lubridate/man/rollback.Rd
lubridate/man/with_tz.Rd
lubridate/man/Period-class.Rd
lubridate/man/duration.Rd
lubridate/man/as_date.Rd
lubridate/man/mplus.Rd
lubridate/man/date.Rd
lubridate/man/minute.Rd
lubridate/man/as.duration.Rd
lubridate/man/parse_date_time.Rd
lubridate/man/make_datetime.Rd
lubridate/man/time_length.Rd
lubridate/man/DateCoercion.Rd
lubridate/man/period.Rd
lubridate/man/quick_periods.Rd
lubridate/man/Duration-class.Rd
lubridate/man/within-interval.Rd
lubridate/man/ymd.Rd