Replace time zone to create new date-time
Interval class
Converts a date to a decimal of its year.
Changes the components of a date object
Get the length of an interval in seconds
Extract the intervals within a vector of date-times
Access and change the end date of an interval
Convert a variety of date-time classes to POSIXlt and POSIXct
Guess formats from the supplied date-time character vector.
Convert a period to the number of units it appears to represent
Get/set hours component of a date-time.
Round date-times down.
Timespan class
Does date time occur in the am or pm?
Lubridate format orders used in ymd
, hms
and ymd_hms
family of functions.
Change an object to a duration.
Access and change the start date of an interval
Test if two intervals overlap
Create an interval object.
Duration class
1970-01-01 GMT
Test if two intervals share an endpoint
Ensures all intervals in an interval object are positive
Create a period object.
Computes attractive axis breaks for date-time data
Lakers 2008-2009 basketball data set
Create a difftime object.
Add and subtract months to a date without exceeding the last day of the new month
Get the number of days in the month of a date-time.
Is x a duration object?
Create a duration object.
Is x a period object?
Get/set minutes component of a date-time.
Shift an interval along the timeline
Is x an Interval object?
Dates and times made easy with lubridate
Quickly create exact time spans.
Create a period with the specified number of hours and minutes
Is x a POSIXct or POSIXlt object?
Change an object to a period.
Is x a date-time object?
Round date-times up.
Quickly create common epoch objects
Create a period with the specified number of minutes and seconds
Quickly create relative timespans.
Format dates and times based on human-friendly templates.
The current time
Get date-time in a different time zone
Is x a length of time?
Period class
Get/set months component of a date-time.
Is a year a leap year?
Is x a difftime object?
Change an object to an interval.
Description of time span classes in lubridate.
Create an epoch object
Get/set seconds component of a date-time.
Flip the direction of an interval
Convenience method to reclass dates post-modification.
Parse dates that have hours, minutes, or seconds elements.
Get/set years component of a date-time.
Get/set time zone component of a date-time.
Convenience method to reclass timespans post-modification.
Tests whether a date or interval falls within an interval
Create a period object.
The current date
Create a duration object.
Add epochs to dates
Get Daylight Savings Time indicator of a date-time.
Get/set weeks component of a date-time.
Rounding for date-times.
Makes a difftime object from a given number of seconds
Roll back date to last day of previous month
Get/set days component of a date-time.
Get/set days component of a date-time.
Get the fiscal quarter of a date-time.
Deprecated internal function, use parse_date_time
instead. Parse dates according to the order that year, month, and day elements appear
in the input vector.
Is x a Date object?
Create a period with the specified hours, minutes, and seconds
Function to parse character and numeric date-time vectors with user friendly
order formats.