Make Dealing with Dates a Little Easier


[Up] [Top]

Documentation for package ‘lubridate’ version 1.6.0

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.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.period Change an object to a period.
as.period-method Change an object to a period.
as_date Convert an object to a date or date-time
as_date-method Convert an object to a date or date-time
as_datetime Convert an object to a date or date-time
as_datetime-method Convert an object to a date or date-time

-- C --

ceiling_date Round, floor and ceiling methods for date-time objects.

-- D --

date Get/set Date component of a date-time.
date<- Get/set Date component of a date-time.
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<- Get/set days component of a date-time.
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 Deprecated function in 'lubridate' package
hm Create a period with the specified hours, minutes, and seconds
hms Create a period with the specified hours, minutes, and seconds
hour Get/set hours component of a date-time.
hour<- Get/set hours component of a date-time.
hours Quickly create period objects.

-- I --

instant Is x a date-time object?
instants Is x a date-time object?
interval Utilities for creation and manipulation of 'Interval' objects.
Interval-class Interval class
int_aligns Utilities for creation and manipulation of 'Interval' objects.
int_diff Utilities for creation and manipulation of 'Interval' objects.
int_end Utilities for creation and manipulation of 'Interval' objects.
int_end<- Utilities for creation and manipulation of 'Interval' objects.
int_flip Utilities for creation and manipulation of 'Interval' objects.
int_length Utilities for creation and manipulation of 'Interval' objects.
int_overlaps Utilities for creation and manipulation of 'Interval' objects.
int_shift Utilities for creation and manipulation of 'Interval' objects.
int_standardize Utilities for creation and manipulation of 'Interval' objects.
int_start Utilities for creation and manipulation of 'Interval' objects.
int_start<- Utilities for creation and manipulation of 'Interval' objects.
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 Utilities for creation and manipulation of 'Interval' objects.
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_date Efficient creation of date-times from numeric representations
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<- Get/set minutes component of a date-time.
minutes Quickly create period objects.
month Get/set months component of a date-time.
month<- Get/set months component of a date-time.
months.numeric Quickly create period objects.
ms Create a period with the specified hours, 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 Deprecated function in 'lubridate' package
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

-- Q --

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

-- R --

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<- Get/set seconds component of a date-time.
seconds Quickly create period objects.
seconds_to_period Contrive a period to/from a given number of seconds.
semester Get the fiscal quarter and semester of a date-time.
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 --

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 --

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<- Get/set years component of a date-time.
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.
yq Parse dates according to the order in that year, month, and day elements appear in the input vector.

-- misc --

%--% Utilities for creation and manipulation of 'Interval' objects.
%/%-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
*-method Timespan class