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
DOI: 10.32614/CRAN.package.lubridate
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 [issues need fixing before 2024-12-09]

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, TreeDep
Reverse imports: academictwitteR, Achilles, ActiSleep, activAnalyzer, activatr, activPAL, actogrammr, actuaryr, adheRenceRX, AdhereR, adjustedcranlogs, admiral, admiraldev, admiralonco, admiralophtha, admiralvaccine, adobeanalyticsr, adsDataHubR, AdverseEvents, aelab, AeRobiology, agcounts, aire.zmvm, AirExposure, AirMonitor, alfred, almanac, altfuelr, amt, anipaths, aniSNA, antaresRead, AnVILBilling, anyflights, aoristic, AQEval, AquaBEHER, aquodom, archiveRetriever, archivist, arctools, ARPALData, ARUtools, ascotraceR, AtmChile, attrib, audrex, autohrf, AutoPlots, autoslider.core, autostsm, autoTS, aws.wrfsmn, AzureAppInsights, baker, bambooHR, banffIT, barrks, 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, carbonr, ccmReportR, cder, CDSE, CellBench, cgmanalysis, charlesschwabapi, chevron, chillR, cif, citmre, cjar, cleanepi, cleanTS, clifro, climwin, clintrialx, clockify, clr, CLVTools, CodelistGenerator, codez, CohortGenerator, CohortSurvival, combinedevents, comtradr, CooRTweet, corporaexplorer, countries, covatest, coveR2, covid19france, covid19sf, covid19tunisia, covid19us, CRANsearcher, crawl, cricketdata, cricketr, cropgrowdays, CropWaterBalance, cruts, crypto2, cryptowatchR, csalert, CSHShydRology, csodata, CSTools, cthist, ctrdata, ctrialsgov, cubble, cvasi, cyclomort, dafishr, dail, DaMiRseq, daqapo, datacleanr, datadictionary, datadogr, DataMetProcess, dataPreparation, dataquieR, dataRetrieval, DateTimeRangePicker, datetoiso, DBItest, deflateBR, dendRoAnalyst, dendroTools, digiRhythm, disclosuR, diseasystore, dispositionEffect, distill, dmtools, doublIn, DQAgui, DSSAT, dycdtools, dymo, dynamicSDM, easyr, EBASE, ecocomDP, edeaR, eesim, EHR, EHRtemporalVariability, eia, EIAapi, eider, EloOptimized, envvar, epe4md, epiCo, 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, fluxfinder, fluxible, 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, GitStats, gk, globaltrends, Gmisc, Goodreader, govinfoR, gpx, gravitas, greenfeedr, grwat, GTFSwizard, gumboot, GVARX, gwasrapidd, GWSDAT, hablar, 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, IETD, iglu, IGoRRR, ihpdr, imaginator, impactflu, impactr, incR, IndexConstruction, inegiR, injurytools, insurancerating, intensegRid, iNZightPlots, iNZightTS, iotables, ipeadatar, IPEDSuploadables, iperform, isdparser, ixplorer, janitor, janus, jenga, jmastats, jpcity, k5, khisr, kiwisR, kntnr, lactater, lambdaTS, lares, lazytrade, LDATS, LifeInsureR, lifelogr, LightLogR, linelistBayes, logib, longitudinalcascade, LTASR, lubrilog, lutz, m5, macleish, macrocol, madshapR, maestro, maicplus, malariaAtlas, margaret, maskRangeR, MassWateR, matman, matuR, MazamaCoreUtils, MazamaLocationUtils, MazamaTimeSeries, mctq, MDPIexploreR, mds, MediaNews, medrxivr, messydates, metajam, meteoland, meteospain, MeTo, metools, metR, metricminer, microinverterdata, midasml, MigrationDetectR, MIMSunit, mimsy, MixviR, mizer, mmaqshiny, modisfast, moexer, mort, movegroup, mpathr, mpathsenser, msdrought, msSPChelpR, multimorbidity, musica, myClim, naive, namedropR, naptime, nasapower, nbTransmission, NEONiso, neonPlantEcology, neonSoilFlux, neotoma2, newsanchor, ngsReports, nixmass, nixtlar, njtr1, noaastormevents, npphen, nser, ntdr, occCite, oceanmap, OmicsMLRepoR, OmnipathR, omock, OnboardClient, onc.api, OOS, openair, openairmaps, opendotaR, openeo, OpeNoise, opinAr, osmdata, packagefinder, padr, PAMmisc, PAMpal, PAMscapes, 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, pmev, PointFore, polished, pollen, polypharmacy, popstudy, PortalHacienda, portalr, PowerSDI, pRecipe, presenter, PriceIndices, priceR, primerTree, projects, prophet, ProPublicaR, proteus, proverbs, PublicWorksFinanceIT, puzzle, PvSTATEM, PytrendsLongitudinalR, 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, REN, repana, repoRter.nih, rerddap, respirometry, respR, ResultModelManager, rfars, rfieldclimate, rgoogleclassroom, riem, Rigma, ripc, RivRetrieve, RJalaliDate, RKorAPClient, RMariaDB, RmarineHeatWaves, rmweather, rmytarget, rnrfa, Rnumerai, Rnvd3, RobinHood, Robyn, rollinglda, ropenmeteo, rplanes, RPostgres, RPresto, rprev, rqti, rsinaica, rsocialwatcher, RTL, rtrend, rtrends, rts2, RtsEva, rtypeform, rumidas, rwicc, rWikiPathways, Rwtss, rwunderground, rzentra, salesforcer, sampleVADIR, SanFranBeachWater, saotd, sapfluxnetr, saqgetr, SDLfilter, sdtmval, seahtrue, seasonalityPlot, secuTrialR, segen, semnar, sense, SensusR, shiny.reglog, shiny.telemetry, shinyDatetimePickers, shinyInvoice, ShinyLink, shinyML, simET, simulariatools, siteymlgen, sits, smosr, socialmixr, SoilHyP, SoilManageR, solartime, sorvi, sotkanet, sovereign, SPARSEMODr, spatsurv, speech, speechbr, SPEI, spinner, spiralize, spocc, spooky, spotifyr, stacomiR, statgenHTP, stationaRy, statnipokladna, statsearchanalyticsr, stepcount, STICr, SticsRFiles, stocks, stopdetection, stppSim, strand, stRoke, stxplore, sugrrants, summarytools, suncalc, survivoR, susographql, swaRm, sweep, sweidnumbr, swfscAirDAS, swfscDAS, SWMPrExtension, SWTools, tableschema.r, tagtools, tapLock, tashu, tbrf, telemetR, telraamStats, tenm, tetragon, textpress, thinkr, ThomasJeffersonUniv, tibbletime, tidybins, tidycharts, tidycomm, tidyfinance, tidyhydat, tidyllm, tidyquant, tidyquery, tidyrgee, tidysdm, tidytuesdayR, tidyverse, time.slots, timelineS, timeperiodsR, timeplyr, timeR, timetk, tntpr, togglr, topdowntimeratio, tosca, track2KBA, trackdf, TrafficBDE, trainR, triact, tsgarch, tsibble, tsibbletalk, tsmarch, TSstudio, tsviz, TUFLOWR, tv, twilio, TwitterAutomatedTrading, ukbnmr, UKgrid, unstruwwel, urlshorteneR, ustfd, utile.tools, vectorsurvR, VIC5, VicmapR, vosonSML, votesmart, vprr, vvauditor, vvconverter, walkboutr, warabandi, waterData, Wats, wbstats, weaana, wearables, weatherOz, wehoop, WhatsR, when, whippr, whitewater, wikkitidy, winfapReader, worldfootballR, wqtrends, WRTDStidal, wxgenR, xesreadR, xml2relational, xmlconvert, xray, yahoofinancer, YatesAlgo.FactorialExp.SR, ycevo, yfR, Z10, zipangu, zoltr, zoomGroupStats, ztype
Reverse suggests: adept, admiralpeds, argoFloats, arrow, autostats, avocado, bagyo, basictabler, bcpa, BiocPkgTools, CADF, camtrapdp, casebase, CAST, catmaply, CDMConnector, cft, checkthat, ChillModels, chronicler, climaemet, completejourney, connectapi, constructive, correlationfunnel, coursekata, covidmx, crosstable, csdata, cstime, datarobot, datetimeoffset, diffdf, dint, diversitree, drake, DrugExposureDiagnostics, duckplyr, dynamAedes, ecb, Ecfun, EGRET, eodhdR2, eph, epichains, era, fabletools, Families, fastcpd, fec16, flexrsurv, flexsurv, frenchdata, frictionless, gcplyr, gdalcubes, geslaR, GetTDData, ggformula, ggvis, gt, gtfsrouter, guardianapi, HistData, hms, hmsidwR, htmlTable, hubeau, hyd1d, ibawds, ibdsim2, ie2miscdata, iForecast, implyr, insee, iNZightTools, lterdatasampler, madness, mapbayr, marcher, mcgf, mdsr, midasr, modeltime, modeltime.ensemble, 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, readMDTable, rerddapXtracto, RforProteomics, RGENERATEPREC, rinat, RMAWGEN, rmsfuns, robservable, rolap, rols, rtrek, RTTWebClient, santoku, segmentr, SEI, sfhotspot, shide, shinyauthr, shinyloadtest, skimr, slider, spectator, spRingsteen, statar, stats19, sugarglider, tabulog, teal.modules.clinical, tern, testdat, TheOpenAIR, tibble, tidier, tidyfit, tidyindex, tidyjson, tidytransit, timevis, treedater, trip, unvotes, usdata, USgrid, UsingR, vegawidget, VirtualPop, whomds

Linking:

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