lubridate v0.2.5

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

Last month downloads

Details

License GPL
LazyData true
Type Package
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 2011-05-11 20:17:05 UTC; garrettgrolemund
Repository CRAN
Date/Publication 2011-05-12 04:27:20

Include our badge in your README

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