Make Dealing with Dates a Little Easier


[Up] [Top]

Documentation for package ‘lubridate’ version 1.5.6

Help Pages

A C D E F G H I L M N O P Q R S T U W Y misc

lubridate-package Dates and times made easy with lubridate

-- A --

add_with_rollback Add and subtract months to a date without exceeding the last day of the new month
am Does date time occur in the am or pm?
as.character-method Duration class
as.character-method Interval class
as.character-method Period class
as.difftime-method Duration class
as.difftime-method Interval class
as.difftime-method Period class
as.duration Change an object to a duration.
as.duration-method Change an object to a duration.
as.interval Change an object to an 'interval'.
as.interval-method Change an object to an 'interval'.
as.numeric-method Duration class
as.numeric-method Interval class
as.numeric-method Period class
as.period Change an object to a period.
as.period-method Change an object to a period.
as_date Convert an object to a Date
as_date-method Convert an object to a Date

-- C --

c-method Duration class
c-method Interval class
c-method Period class
ceiling_date Round, floor and ceiling methods for date-time objects.
Compare-method Duration class

-- D --

date Get/set Date component of a date-time.
date-method Period class
date<- Get/set Date component of a date-time.
date<--method Period class
DateUpdate Changes the components of a date object
date_decimal Converts a decimal to a date.
day Get/set days component of a date-time.
day-method Period class
day<- Get/set days component of a date-time.
day<--method Period class
days Quickly create period objects.
days_in_month Get the number of days in the month of a date-time.
ddays Quickly create duration objects.
decimal_date Converts a date to a decimal of its year.
Deprecated-lubridate Deprecated function in 'lubridate' package
dhours Quickly create duration objects.
dmicroseconds Quickly create duration objects.
dmilliseconds Quickly create duration objects.
dminutes Quickly create duration objects.
dmy Parse dates according to the order in that year, month, and day elements appear in the input vector.
dmy_h Parse dates that have hours, minutes, or seconds elements.
dmy_hm Parse dates that have hours, minutes, or seconds elements.
dmy_hms Parse dates that have hours, minutes, or seconds elements.
dnanoseconds Quickly create duration objects.
dpicoseconds Quickly create duration objects.
dseconds Quickly create duration objects.
dst Get Daylight Savings Time indicator of a date-time.
duration Create a duration object.
Duration-class Duration class
dweeks Quickly create duration objects.
dyears Quickly create duration objects.
dym Parse dates according to the order in that year, month, and day elements appear in the input vector.

-- E --

edays Deprecated function in 'lubridate' package
ehours Deprecated function in 'lubridate' package
emicroseconds Deprecated function in 'lubridate' package
emilliseconds Deprecated function in 'lubridate' package
eminutes Deprecated function in 'lubridate' package
enanoseconds Deprecated function in 'lubridate' package
epicoseconds Deprecated function in 'lubridate' package
eseconds Deprecated function in 'lubridate' package
eweeks Deprecated function in 'lubridate' package
eyears Deprecated function in 'lubridate' package

-- F --

fast_strptime Parse character and numeric date-time vectors with user friendly order formats.
fit_to_timeline Fit a POSIXlt date-time to the timeline
floor_date Round, floor and ceiling methods for date-time objects.
force_tz Replace time zone to create new date-time

-- G --

guess_formats Guess formats from the supplied date-time character vector.

-- H --

here The current time in your local timezone
hm Create a period with the specified number of hours and minutes
hms Create a period with the specified hours, minutes, and seconds
hour Get/set hours component of a date-time.
hour-method Period class
hour<- Get/set hours component of a date-time.
hour<--method Period class
hours Quickly create period objects.

-- I --

instant Is x a date-time object?
instants Is x a date-time object?
intersect-method Interval class
interval Create an 'interval' object.
Interval-class Interval class
int_aligns Test if two intervals share an endpoint
int_diff Extract the intervals within a vector of date-times
int_end Access and change the end date of an interval
int_end<- Access and change the end date of an interval
int_flip Flip the direction of an interval
int_length Get the length of an interval in seconds
int_overlaps Test if two intervals overlap
int_shift Shift an interval along the timeline
int_standardize Ensures all intervals in an interval object are positive
int_start Access and change the start date of an interval
int_start<- Access and change the start date of an interval
is.Date Is x a Date object?
is.difftime Is x a difftime object?
is.duration Create a duration object.
is.instant Is x a date-time object?
is.interval Create an 'interval' object.
is.period Create a period object.
is.POSIXct Is x a POSIXct or POSIXlt object?
is.POSIXlt Is x a POSIXct or POSIXlt object?
is.POSIXt Is x a POSIXct or POSIXlt object?
is.timepoint Is x a date-time object?
is.timespan Is x a length of time?
isoweek Get/set weeks component of a date-time.
isoyear Get/set years component of a date-time.

-- L --

lakers Lakers 2008-2009 basketball data set
leap_year Is a year a leap year?
lubridate Dates and times made easy with lubridate

-- M --

m+ Add and subtract months to a date without exceeding the last day of the new month
m- Add and subtract months to a date without exceeding the last day of the new month
make_datetime Efficient creation of date-times from numeric representations.
make_difftime Create a difftime object.
mday Get/set days component of a date-time.
mday<- Get/set days component of a date-time.
mdy Parse dates according to the order in that year, month, and day elements appear in the input vector.
mdy_h Parse dates that have hours, minutes, or seconds elements.
mdy_hm Parse dates that have hours, minutes, or seconds elements.
mdy_hms Parse dates that have hours, minutes, or seconds elements.
microseconds Quickly create period objects.
milliseconds Quickly create period objects.
minute Get/set minutes component of a date-time.
minute-method Period class
minute<- Get/set minutes component of a date-time.
minute<--method Period class
minutes Quickly create period objects.
month Get/set months component of a date-time.
month-method Period class
month<- Get/set months component of a date-time.
month<--method Period class
months.numeric Quickly create period objects.
ms Create a period with the specified number of minutes and seconds
myd Parse dates according to the order in that year, month, and day elements appear in the input vector.

-- N --

nanoseconds Quickly create period objects.
new_difftime Deprecated function in 'lubridate' package
new_duration Deprecated function in 'lubridate' package
new_interval Deprecated function in 'lubridate' package
new_period Deprecated function in 'lubridate' package
now The current time

-- O --

olson_time_zones Names of available time zones
origin 1970-01-01 UTC

-- P --

parse_date_time Parse character and numeric date-time vectors with user friendly order formats.
parse_date_time2 Parse character and numeric date-time vectors with user friendly order formats.
period Create a period object.
Period-class Period class
period_to_seconds Contrive a period to/from a given number of seconds.
picoseconds Quickly create period objects.
pm Does date time occur in the am or pm?
pretty.dates Computes attractive axis breaks for date-time data
pretty.day Computes attractive axis breaks for date-time data
pretty.hour Computes attractive axis breaks for date-time data
pretty.min Computes attractive axis breaks for date-time data
pretty.month Computes attractive axis breaks for date-time data
pretty.point Computes attractive axis breaks for date-time data
pretty.sec Computes attractive axis breaks for date-time data
pretty.unit Computes attractive axis breaks for date-time data
pretty.year Computes attractive axis breaks for date-time data
pretty_dates Computes attractive axis breaks for date-time data

-- Q --

qday Get/set days component of a date-time.
qday<- Get/set days component of a date-time.
quarter Get the fiscal quarter of a date-time.
quick_durations Quickly create duration objects.
quick_periods Quickly create period objects.

-- R --

rep-method Duration class
rep-method Interval class
rep-method Period class
rollback Roll back date to last day of previous month
round_date Round, floor and ceiling methods for date-time objects.

-- S --

second Get/set seconds component of a date-time.
second-method Period class
second<- Get/set seconds component of a date-time.
second<--method Period class
seconds Quickly create period objects.
seconds_to_period Contrive a period to/from a given number of seconds.
setdiff-method Interval class
show-method Duration class
show-method Interval class
show-method Period class
stamp Format dates and times based on human-friendly templates.
stamp_date Format dates and times based on human-friendly templates.
stamp_time Format dates and times based on human-friendly templates.

-- T --

timepoint Is x a date-time object?
timespan Description of time span classes in lubridate.
Timespan-class Timespan class
timespans Description of time span classes in lubridate.
time_length Compute the exact length of a time span.
time_length-method Compute the exact length of a time span.
today The current date
tz Get/set time zone component of a date-time.
tz<- Get/set time zone component of a date-time.

-- U --

union-method Interval class
update.POSIXt Changes the components of a date object

-- W --

wday Get/set days component of a date-time.
wday<- Get/set days component of a date-time.
week Get/set weeks component of a date-time.
week<- Get/set weeks component of a date-time.
weeks Quickly create period objects.
with_tz Get date-time in a different time zone

-- Y --

yday Get/set days component of a date-time.
yday<- Get/set days component of a date-time.
ydm Parse dates according to the order in that year, month, and day elements appear in the input vector.
ydm_h Parse dates that have hours, minutes, or seconds elements.
ydm_hm Parse dates that have hours, minutes, or seconds elements.
ydm_hms Parse dates that have hours, minutes, or seconds elements.
year Get/set years component of a date-time.
year-method Period class
year<- Get/set years component of a date-time.
year<--method Period class
yearmonthdate Parse dates according to the order in that year, month, and day elements appear in the input vector.
years Quickly create period objects.
ymd Parse dates according to the order in that year, month, and day elements appear in the input vector.
ymd_h Parse dates that have hours, minutes, or seconds elements.
ymd_hm Parse dates that have hours, minutes, or seconds elements.
ymd_hms Parse dates that have hours, minutes, or seconds elements.

-- misc --

!=,Duration,Period Period class
!=,numeric,Period Period class
!=,Period,Duration Period class
!=,Period,numeric Period class
!=,Period,Period Period class
!=-method Period class
$-method Duration class
$-method Interval class
$-method Period class
$<--method Duration class
$<--method Interval class
$<--method Period class
%%,Interval,Duration Interval class
%%,Interval,Interval Interval class
%%,Interval,Period Interval class
%%,Period,Duration Period class
%%,Period,Interval Period class
%%,Period,Period Period class
%%-method Duration class
%%-method Interval class
%%-method Period class
%--% Create an 'interval' object.
%/%-method Timespan class
%m+% Add and subtract months to a date without exceeding the last day of the new month
%m+%-method Add and subtract months to a date without exceeding the last day of the new month
%m-% Add and subtract months to a date without exceeding the last day of the new month
%m-%-method Add and subtract months to a date without exceeding the last day of the new month
%within% Tests whether a date or interval falls within an interval
%within%-method Tests whether a date or interval falls within an interval
*,ANY,Period Period class
*,Period,ANY Period class
*-method Duration class
*-method Interval class
*-method Period class
*-method Timespan class
+-method Duration class
+-method Interval class
+-method Period class
-,ANY,Period Period class
-,Date,Interval Interval class
-,Duration,Interval Interval class
-,Interval,Date Interval class
-,Interval,Interval Interval class
-,Interval,numeric Interval class
-,Interval,POSIXct Interval class
-,Interval,POSIXlt Interval class
-,numeric,Interval Interval class
-,Period,Interval Period class
-,Period,missing Period class
-,POSIXct,Interval Interval class
-,POSIXlt,Interval Interval class
--method Duration class
--method Interval class
--method Period class
/,numeric,Period Period class
/-method Duration class
/-method Interval class
/-method Period class
<,Duration,Period Period class
<,numeric,Period Period class
<,Period,Duration Period class
<,Period,numeric Period class
<,Period,Period Period class
<-method Period class
<=,Duration,Period Period class
<=,numeric,Period Period class
<=,Period,Duration Period class
<=,Period,numeric Period class
<=,Period,Period Period class
<=-method Period class
==,Duration,Period Period class
==,numeric,Period Period class
==,Period,Duration Period class
==,Period,numeric Period class
==,Period,Period Period class
==-method Period class
>,Duration,Period Period class
>,numeric,Period Period class
>,Period,Duration Period class
>,Period,numeric Period class
>,Period,Period Period class
>-method Period class
>=,Duration,Period Period class
>=,numeric,Period Period class
>=,Period,Duration Period class
>=,Period,numeric Period class
>=,Period,Period Period class
>=-method Period class
[-method Duration class
[-method Interval class
[-method Period class
[<--method Duration class
[<--method Interval class
[<--method Period class
[[-method Duration class
[[-method Interval class
[[-method Period class
[[<--method Duration class
[[<--method Interval class
[[<--method Period class