lubridate v0.2.3

0

Monthly downloads

0th

Percentile

Make dealing with dates a little easier

Lubridate makes it easier to work with dates and times by providing functions to identify and parse date-time data, extract and modify components of a date-time (years, months, days, hours, minutes, and seconds), perform accurate math on date-times, handle time zones and Daylight Savings Time. Lubridate has a consistent, memorable syntax, that makes working with dates fun instead of frustrating.

Functions in lubridate

Name Description
DateCoercion Convert every date method we know about to POSIXlt and POSIXct...
year Get/set years component of a date-time.
as.period Change an object to a period.
with_tz Get date-time in a different time zone...
sundays Quickly create common epoch objects...
as.interval Change an object to an interval.
is.Date Is x a Date object?
minute Get/set minutes component of a date-time.
round_date Rounding for date-times.
ceiling_date Round date-times up.
lakers Lakers 2008-2009 basketball data set...
pretty.dates Computes attractive axis breaks for date-time data...
decimal_date Converts a date to a decimal of its year.
new_duration Create a duration object.
dseconds Quickly create exact time spans.
subtract_dates Subtracting date-time objects...
add_dates Adding date-time objects...
is.period Is x a period object?
now The current time...
second Get/set seconds component of a date-time.
as.duration Change an object to a duration (difftime).
reclass_date Convenience method to reclass dates post-modification.
new_epoch Create an epoch object...
is.duration Is x a duration object?
ymd Parse dates according to the order that year, month, and day elements appear...
int_start Access and change the start date of an interval...
today The current date...
is.timespan Is x a length of time?
lubridate Dates and times made easy with lubridate...
ymd_hms Parse dates that have hours, minutes, or seconds elements...
hms Create a period with the specified hours, minutes, and seconds...
is.interval Is x an interval object?
add_epoch_to_date Add epochs to dates...
new_interval Create an interval object.
duration Description of time span classes in lubridate.
force_tz Replace time zone to create new date-time...
new_period Create a period object.
hour Get/set hours component of a date-time.
yday Get/set days component of a date-time.
ms Create a period with the specified number of minutes and seconds...
int_end Access and change the end date of an interval...
DateUpdate Changes the components of a date object...
dst Get Daylight Savings Time indicator of a date-time.
is.difftime Is x a difftime object?
floor_date Round date-times down.
week Get/set weeks component of a date-time.
leap_year Is a year a leap year?
am Does date time occur in the am or pm?
hm Create a period with the specified number of hours and minutes...
is.instant Is x a date-time object?
wday Get/set days component of a date-time.
origin 1970-01-01 GMT...
make_difftime Makes a difftime object from a given number of seconds...
seconds Quickly create relative timespans.
is.POSIXt Is x a POSIXct or POSIXlt object?
tz Get/set time zone component of a date-time.
new_difftime Create a difftime object.
month Get/set months component of a date-time.
parse_date Change dates into a POSIXct format...
No Results!

Last month downloads

Details

Type Package
License GPL
LazyData true
Collate 'accessors-day.r' 'accessors-hour.r' 'accessors-minute.r' 'accessors-misc.r' 'accessors-month.r' 'accessors-second.r' 'accessors-tz.r' 'accessors-week.r' 'accessors-year.r' 'coercion.r' 'durations.r' 'epochs.r' 'help.r' 'intervals.r' 'ops.durations.r' 'parse.r' 'periods.r' 'pretty.r' 'round.r' 'util.r' 'zzz.r'
Packaged 2010-12-09 17:22:08 UTC; garrettgrolemund
Repository CRAN
Date/Publication 2010-12-09 20:32:52

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/lubridate)](http://www.rdocumentation.org/packages/lubridate)