Make dealing with dates a little easier


[Up] [Top]

Documentation for package ‘lubridate’ version 1.3.3

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_epoch_to_date Add epochs to dates
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.

-- C --

c-method Duration class
c-method Interval class
c-method Period class
ceiling_date Round date-times up.

-- D --

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 relative timespans.
days_in_month Get the number of days in the month of a date-time.
ddays Quickly create exact time spans.
decimal_date Converts a date to a decimal of its year.
dhours Quickly create exact time spans.
dmicroseconds Quickly create exact time spans.
dmilliseconds Quickly create exact time spans.
dminutes Quickly create exact time spans.
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 exact time spans.
dpicoseconds Quickly create exact time spans.
dseconds Quickly create exact time spans.
dst Get Daylight Savings Time indicator of a date-time.
duration Create a duration object.
Duration-class Duration class
dweeks Quickly create exact time spans.
dyears Quickly create exact time spans.
dym Parse dates according to the order in that year, month, and day elements appear in the input vector.

-- E --

edays Quickly create exact time spans.
ehours Quickly create exact time spans.
emicroseconds Quickly create exact time spans.
emilliseconds Quickly create exact time spans.
eminutes Quickly create exact time spans.
enanoseconds Quickly create exact time spans.
epicoseconds Quickly create exact time spans.
eseconds Quickly create exact time spans.
eweeks Quickly create exact time spans.
eyears Quickly create exact time spans.

-- 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 date-times down.
force_tz Replace time zone to create new date-time
fridays Quickly create common epoch objects

-- 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 relative timespans.

-- 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 Is x a duration object?
is.instant Is x a date-time object?
is.interval Is x an Interval object?
is.period Is x 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.

-- L --

lakers Lakers 2008-2009 basketball data set
leap_year Is a year a leap year?
lubridate Dates and times made easy with lubridate
lubridate_formats Lubridate format orders used in 'stamp'

-- 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_difftime Makes a difftime object from a given number of seconds
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 relative timespans.
milliseconds Quickly create relative timespans.
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 relative timespans.
mondays Quickly create common epoch 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
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 relative timespans.
new_difftime Create a difftime object.
new_duration Create a duration object.
new_epoch Create an epoch object
new_interval Create an interval object.
new_period Create a period object.
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 Convert a period to the number of seconds it appears to represent
picoseconds Quickly create relative timespans.
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 --

quarter Get the fiscal quarter of a date-time.

-- 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 Rounding for date-times.

-- S --

saturdays Quickly create common epoch objects
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 relative timespans.
seconds_to_period Contrive a period 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.
sundays Quickly create common epoch objects

-- T --

thursdays Quickly create common epoch objects
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.
today The current date
tuesdays Quickly create common epoch objects
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

-- W --

wday Get/set days component of a date-time.
wday<- Get/set days component of a date-time.
wednesdays Quickly create common epoch objects
week Get/set weeks component of a date-time.
week<- Get/set weeks component of a date-time.
weeks Quickly create relative timespans.
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 relative timespans.
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 --

!=-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
%--% 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
*-method Duration class
*-method Interval class
*-method Period class
*-method Timespan 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 Period class
<=-method Period class
==-method Period class
>-method 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