lubridate: Make Dealing with Dates a Little Easier

Functions to work with date-times and time-spans: fast and user friendly parsing of date-time data, extraction and updating of components of a date-time (years, months, days, hours, minutes, and seconds), algebraic manipulation on date-time and time-span objects. The 'lubridate' package has a consistent and memorable syntax that makes working with dates easy and fun.

Version: 1.9.3
Depends: methods, R (≥ 3.2)
Imports: generics, timechange (≥ 0.1.1)
Suggests: covr, knitr, rmarkdown, testthat (≥ 2.1.0), vctrs (≥ 0.5.0)
Enhances: chron, data.table, timeDate, tis, zoo
Published: 2023-09-27
Author: Vitalie Spinu [aut, cre], Garrett Grolemund [aut], Hadley Wickham [aut], Davis Vaughan [ctb], Ian Lyttle [ctb], Imanuel Costigan [ctb], Jason Law [ctb], Doug Mitarotonda [ctb], Joseph Larmarange [ctb], Jonathan Boiser [ctb], Chel Hee Lee [ctb]
Maintainer: Vitalie Spinu <spinuvit at gmail.com>
BugReports: https://github.com/tidyverse/lubridate/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://lubridate.tidyverse.org, https://github.com/tidyverse/lubridate
NeedsCompilation: yes
SystemRequirements: C++11, A system with zoneinfo data (e.g. /usr/share/zoneinfo). On Windows the zoneinfo included with R is used.
Citation: lubridate citation info
Materials: README NEWS
In views: ReproducibleResearch, TimeSeries
CRAN checks: lubridate results

Documentation:

Reference manual: lubridate.pdf
Vignettes: Do more with dates and times in R

Downloads:

Package source: lubridate_1.9.3.tar.gz
Windows binaries: r-devel: lubridate_1.9.3.zip, r-release: lubridate_1.9.3.zip, r-oldrel: lubridate_1.9.3.zip
macOS binaries: r-release (arm64): lubridate_1.9.3.tgz, r-oldrel (arm64): lubridate_1.9.3.tgz, r-release (x86_64): lubridate_1.9.3.tgz, r-oldrel (x86_64): lubridate_1.9.3.tgz
Old sources: lubridate archive

Reverse dependencies:

Reverse depends: accrualPlot, HEDA, hystReet, orgR, pkdata, radiant.data, RGoogleAnalyticsPremium, RMOPI, seawaveQ, tidyquant, TreeDep
Reverse imports: academictwitteR, Achilles, activAnalyzer, activatr, activPAL, actogrammr, actuaryr, actxps, adheRenceRX, AdhereR, adjustedcranlogs, admiral, admiraldev, admiralonco, admiralophtha, admiralvaccine, adobeanalyticsr, adsDataHubR, AeRobiology, agcounts, aire.zmvm, AirMonitor, alfred, algaeClassify, almanac, altfuelr, amt, anipaths, aniSNA, antaresRead, antaresViz, AnVILBilling, anyflights, aoristic, AQEval, AquaBEHER, aquodom, archiveRetriever, archivist, arctools, ARPALData, ARUtools, ascotraceR, AtmChile, attrib, audrex, autohrf, AutoPlots, autostsm, autoTS, aws.wrfsmn, AzureAppInsights, baker, bambooHR, banffIT, baseballr, batata, BatchGetSymbols, BAwiR, bayesforecast, bayesmove, baytrends, BeeBDC, BEKKs, BETS, bioRad, bitmexr, blackmarbler, bluebike, bndesr, boiwsa, bp, bReeze, brinton, BRVM, bsam, bskyr, bsplus, bulkreadr, bupaR, busdater, bysykkel, CalcThemAll.PRM, calendar, campfin, camtrapR, cancerscreening, capl, card, ccmReportR, cder, CDSE, CellBench, cgmanalysis, chillR, cif, citmre, cjar, cleanTS, clifro, climwin, clockify, clr, CLVTools, CodelistGenerator, codez, CohortCharacteristics, CohortSurvival, combinedevents, comtradr, CooRTweet, corporaexplorer, countries, covatest, coveR2, covid19france, covid19sf, covid19tunisia, covid19us, CRANsearcher, crawl, cricketdata, cricketr, cropgrowdays, CropWaterBalance, cruts, crypto2, cryptowatchR, CSHShydRology, csodata, CSTools, ctrdata, ctrialsgov, cubble, cyclomort, dafishr, dail, DaMiRseq, daqapo, datacleanr, datacutr, datadictionary, datadogr, DataMetProcess, dataPreparation, dataquieR, dataRetrieval, DateTimeRangePicker, datetoiso, DBItest, deflateBR, dendRoAnalyst, dendroTools, digiRhythm, disclosuR, diseasystore, dispositionEffect, distill, dmtools, doublIn, DQAgui, DrugUtilisation, DSSAT, dymo, dynamicSDM, easyr, EBASE, ecocomDP, edeaR, EEAaq, eesim, EHR, EHRtemporalVariability, eia, EIAapi, eider, EloOptimized, envvar, epe4md, EpiNow2, epiR, eplusr, epocakir, ern, esmprep, esmtools, etl, eurocordexr, euroleaguer, eurostat, evapoRe, EventPredInCure, evprof, evsim, exceldata, ExcelFunctionsR, excessmort, excluder, expDB, exuber, eye, ezplot, fable.ata, fable.prophet, fableCount, fabR, fakir, farr, fasstr, fastRhockey, feasts, FedData, ffp, fgeo.analyze, finnts, fitbitr, fitbitViz, fitzRoy, fixtuRes, fmbasics, fmdates, fmpcloudr, foqat, forecasteR, forecastML, fpp3, framecleaner, fruclimadapt, galvanizer, garma, gbfs, gbm.auto, gemma.R, GenEst, geomerge, GetDFPData, GetDFPData2, GetFREData, GetLattesData, geysertimes, ggblanket, GGIR, ggpmisc, ggpp, ggspectra, ghclass, gie, gk, globaltrends, Gmisc, govinfoR, gpx, gravitas, grwat, gumboot, GVARX, gwasrapidd, GWSDAT, hablar, hansard, headliner, healthdb, healthfinance, healthyR, healthyR.ts, heatwaveR, heims, hetu, hgnc, hgutils, highcharter, HMDHFDplus, hockeystick, hoopR, HospitalNetwork, hpiR, htmldf, htsr, humanize, hurricaneexposure, hydroroute, hydrotoolbox, hydroToolkit, HyMETT, HYPEtools, IceSat2R, iClick, ie2misc, iemisc, IETD, iglu, IGoRRR, ihpdr, imaginator, impactflu, impactr, IncidencePrevalence, incR, IndexConstruction, inegiR, injurytools, insurancerating, intensegRid, iNZightPlots, iNZightTS, iotables, IPDFileCheck, ipeadatar, IPEDSuploadables, iperform, ISAnalytics, isdparser, ixplorer, janitor, janus, jenga, jmastats, jpcity, k5, kiwisR, kntnr, lactater, lambdaTS, lares, lazytrade, LDATS, LifeInsureR, lifelogr, linelistBayes, logib, longitudinalcascade, LTASR, lutz, m5, macleish, macrocol, madshapR, malariaAtlas, margaret, maskRangeR, MassWateR, matman, matuR, MazamaCoreUtils, MazamaLocationUtils, MazamaTimeSeries, mctq, mds, MediaNews, messydates, metajam, meteoland, meteospain, MeTo, metools, metR, metricminer, microbiomeExplorer, midasml, MigrationDetectR, MIMSunit, mimsy, MixviR, mizer, mmaqshiny, moexer, mort, movegroup, mpathsenser, msSPChelpR, multimorbidity, musica, myClim, naive, namedropR, naptime, nasapower, nbTransmission, NEONiso, neonPlantEcology, neonSoilFlux, neotoma2, newsanchor, ngsReports, nixmass, njtr1, noaastormevents, npphen, nser, ntdr, occCite, oceanmap, OmnipathR, omock, OnboardClient, onc.api, OOS, openair, openairmaps, opendotaR, openeo, opinAr, osmdata, packagefinder, padr, PAMmisc, PAMpal, parsel, parttime, pastclim, patentr, pathviewr, pcts, pdfetch, peakPantheR, pedquant, periscope, periscope2, pgxRpi, phase, phenofit, PHENTHAUproc, photobiology, photobiologyInOut, phsmethods, PhysActBedRest, piggyback, pingers, piwikproR, planningML, planr, plotdap, pmetar, PointFore, polished, pollen, polypharmacy, popstudy, PortalHacienda, portalr, PowerSDI, pRecipe, presenter, PriceIndices, priceR, primerTree, projects, prophet, ProPublicaR, proteus, proverbs, PublicWorksFinanceIT, puzzle, qualtRics, QuantBondCurves, quantdates, quincunx, radiant.basics, radiant.model, radiant.multivariate, rAmCharts4, rameritrade, random.cdisc.data, Rapi, RAQSAPI, RavenR, rbi.helpers, RBNZ, RchivalTag, RClimacell, Rcollectl, rcontroll, rcrimeanalysis, rdfp, RDML, readrba, rechaRge, recipes, redcapAPI, REDCapExporter, REDCapTidieR, REDI, RefManageR, refreshr, repana, repoRter.nih, rerddap, respirometry, respR, rfars, rfieldclimate, rgoogleclassroom, riem, Rigma, ripc, RivRetrieve, RKorAPClient, RMariaDB, RmarineHeatWaves, rmweather, rmytarget, rnrfa, Rnumerai, Rnvd3, RobinHood, Robyn, rollinglda, RPostgres, RPresto, rprev, rqti, rsinaica, rsocialwatcher, RTL, rtrend, rtrends, rts2, rtypeform, rumidas, rwicc, rWikiPathways, Rwtss, rwunderground, rzentra, salesforcer, sampleVADIR, SanFranBeachWater, saotd, sapfluxnetr, saqgetr, SDLfilter, sdtmval, seasonalityPlot, secuTrialR, segen, semnar, sense, SensusR, shiny.reglog, shiny.telemetry, shinyDatetimePickers, shinyInvoice, ShinyLink, shinyML, simET, simulariatools, siteymlgen, sits, smosr, socialmixr, SoilHyP, solartime, sorvi, sovereign, SPARSEMODr, spatsurv, speech, speechbr, SPEI, spinner, spiralize, spocc, spooky, spotifyr, stacomiR, statgenHTP, stationaRy, statnipokladna, statsearchanalyticsr, SticsRFiles, stocks, stopdetection, stppSim, strand, stRoke, stxplore, sugrrants, summarytools, suncalc, survivoR, susographql, swaRm, sweep, sweidnumbr, swfscAirDAS, swfscDAS, SWMPrExtension, SWTools, tableschema.r, tagtools, tashu, tbrf, telemetR, tetragon, thinkr, ThomasJeffersonUniv, tibbletime, tidybins, tidycharts, tidycomm, tidyfinance, tidyhydat, tidyquery, tidyrgee, tidysdm, tidytuesdayR, tidyverse, time.slots, timelineS, timeperiodsR, timeplyr, timeR, timetk, tntpr, togglr, topdowntimeratio, tosca, track2KBA, trackdf, TrafficBDE, trainR, triact, tsgarch, tsibble, tsibbletalk, TSstudio, tsviz, TUFLOWR, tv, twilio, TwitterAutomatedTrading, UKgrid, uniswappeR, unstruwwel, urlshorteneR, ustfd, utile.tools, vectorsurvR, VIC5, VicmapR, vosonSML, votesmart, vprr, vvauditor, vvconverter, walkboutr, warabandi, waterData, Wats, wbstats, weaana, wearables, wehoop, WhatsR, when, whippr, whitewater, wikkitidy, winfapReader, worldfootballR, wqtrends, WRTDStidal, wxgenR, xesreadR, xml2relational, xmlconvert, xray, yahoofinancer, YatesAlgo.FactorialExp.SR, ycevo, yfR, Z10, zipangu, zoomGroupStats, ztype
Reverse suggests: adept, argoFloats, arrow, avocado, bagyo, basictabler, bcpa, BiocPkgTools, casebase, CAST, catmaply, CDMConnector, cft, checkthat, ChillModels, chronicler, climaemet, completejourney, connectapi, constructive, correlationfunnel, covidmx, crosstable, csdata, cstime, datarobot, datetimeoffset, diffdf, dint, diversitree, drake, DrugExposureDiagnostics, duckplyr, dynamAedes, ecb, Ecfun, EGRET, eph, era, fabletools, Families, fastcpd, fastverse, fec16, flexrsurv, flexsurv, frenchdata, frictionless, gcplyr, gdalcubes, geslaR, GetTDData, ggformula, ggvis, gt, gtfsrouter, guardianapi, HistData, hms, htmlTable, hubeau, hyd1d, ibawds, ie2miscdata, iemiscdata, iForecast, implyr, insee, iNZightTools, lterdatasampler, madness, mapbayr, marcher, mcgf, mdsr, midasr, modeltime, modeltime.resample, momentuHMM, moodleR, mopac, mosaic, move, move2, multidplyr, mvgam, NHSRdatasets, Nmisc, oce, octopusR, openintro, pedalfast.data, PetfindeR, PhilipsHue, photobiologySun, pillar, pinochet, pivottabler, pointblank, processanimateR, processpredictR, ProjectTemplate, ptvapi, puls, purrr, rAmCharts, rasterList, raw, rbmi, rdflib, read.gt3x, rerddapXtracto, RforProteomics, RGENERATEPREC, rinat, RMAWGEN, rmsfuns, robservable, rolap, rols, rtrek, RTTWebClient, santoku, segmentr, SEI, sfhotspot, shide, shinyauthr, shinyloadtest, skimr, slider, spectator, spRingsteen, statar, stats19, tabulog, teal.modules.clinical, tern, testdat, TheOpenAIR, tibble, tidier, tidyfit, tidyindex, tidyjson, tidytransit, timevis, treedater, trip, unvotes, USgrid, UsingR, vegawidget, VirtualPop, whomds

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lubridate to link to this page.