Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("lubridate")

1.9.3 by Vitalie Spinu, 6 months ago


https://lubridate.tidyverse.org, https://github.com/tidyverse/lubridate


Report a bug at https://github.com/tidyverse/lubridate/issues


Browse source code at https://github.com/cran/lubridate


Authors: 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]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports generics, timechange

Depends on methods

Suggests covr, knitr, rmarkdown, testthat, vctrs

Enhances chron, data.table, timeDate, tis, zoo

System requirements: C++11, A system with zoneinfo data (e.g. /usr/share/zoneinfo). On Windows the zoneinfo included with R is used.


Imported by AQEval, ARPALData, Achilles, AdhereR, AeRobiology, AirMonitor, AquaBEHER, AtmChile, AutoPlots, AzureAppInsights, BAwiR, BEKKs, BETS, BRVM, BatchGetSymbols, BeeBDC, CDSE, CLVTools, CRANsearcher, CSHShydRology, CSTools, CodelistGenerator, CohortSurvival, CooRTweet, DBItest, DQAgui, DSSAT, DataMetProcess, DateTimeRangePicker, DrugUtilisation, EBASE, EEAaq, EHR, EHRtemporalVariability, EIAapi, EpiNow2, EventPredInCure, ExcelFunctionsR, FedData, GGIR, GVARX, GWSDAT, GenEst, GetDFPData, GetDFPData2, GetFREData, Gmisc, HMDHFDplus, HYPEtools, HospitalNetwork, HyMETT, IETD, IGoRRR, IPDFileCheck, IPEDSuploadables, IceSat2R, IncidencePrevalence, IndexConstruction, LDATS, LTASR, LifeInsureR, MIMSunit, MassWateR, MazamaCoreUtils, MazamaLocationUtils, MazamaTimeSeries, MeTo, MediaNews, MigrationDetectR, MixviR, NEONiso, OOS, OnboardClient, PAMmisc, PAMpal, PAMscapes, PHENTHAUproc, PatientProfiles, PhysActBedRest, PointFore, PortalHacienda, PowerSDI, PriceIndices, ProPublicaR, PublicWorksFinanceIT, QuantBondCurves, RAQSAPI, RBNZ, RClimacell, RDML, REDCapExporter, REDCapTidieR, REDI, RKorAPClient, RMariaDB, RPostgres, RPresto, RTL, Rapi, RavenR, RchivalTag, RefManageR, Rigma, RivRetrieve, RmarineHeatWaves, Rnumerai, Rnvd3, RobinHood, Robyn, Rwtss, SCDB, SDLfilter, SPARSEMODr, SPEI, SWMPrExtension, SWTools, SanFranBeachWater, SensusR, ShinyLink, SoilHyP, SticsRFiles, TSstudio, TUFLOWR, ThomasJeffersonUniv, TrafficBDE, TwitterAutomatedTrading, UKgrid, VIC5, VicmapR, WRTDStidal, Wats, WhatsR, YatesAlgo.FactorialExp.SR, Z10, academictwitteR, activAnalyzer, activPAL, activatr, actogrammr, actuaryr, actxps, adheRenceRX, adjustedcranlogs, admiral, admiraldev, admiralonco, admiralophtha, admiralvaccine, adobeanalyticsr, adsDataHubR, agcounts, aire.zmvm, alfred, algaeClassify, almanac, altfuelr, amt, aniSNA, anipaths, antaresRead, antaresViz, anyflights, aoristic, aquodom, archiveRetriever, archivist, arctools, ascotraceR, attrib, audrex, autoTS, autohrf, autostsm, aws.wrfsmn, bReeze, babsim.hospital, baker, bambooHR, baseballr, batata, bayesforecast, bayesmove, baytrends, bioRad, bitmexr, blackmarbler, bluebike, bndesr, boiwsa, bp, brinton, bsam, bskyr, bsplus, bulkreadr, bupaR, busdater, bysykkel, calendar, campfin, camtrapR, cancerscreening, capl, card, ccmReportR, cder, cgmanalysis, chillR, cif, cjar, cleanTS, clifro, climwin, clockify, clr, coalitions, codez, combinedevents, comtradr, corporaexplorer, countries, covatest, coveR2, covid19france, covid19sf, covid19tunisia, covid19us, crawl, cricketdata, cricketr, cropgrowdays, cruts, crypto2, cryptowatchR, csodata, ctrdata, ctrialsgov, cubble, cyclomort, dafishr, dail, daqapo, dataPreparation, dataRetrieval, datacleanr, datacutr, datadictionary, datadogr, dataquieR, datetoiso, deflateBR, dendroTools, digiRhythm, disclosuR, diseasystore, dispositionEffect, distill, dmtools, dymo, dynamicSDM, easyr, ecocomDP, edeaR, eesim, eia, envvar, epe4md, epiR, eplusr, epocakir, ern, esmprep, esmtools, etl, eurocordexr, euroleaguer, eurostat, evapoRe, evprof, evsim, exceldata, excessmort, excluder, expDB, exuber, eye, ezplot, fabR, fable.ata, fable.prophet, fakir, farr, fasstr, fastRhockey, feasts, ffp, fgeo.analyze, filteRjsats, finnts, fitbitViz, fitbitr, fitzRoy, fixtuRes, fmbasics, fmdates, fmpcloudr, foqat, forecastML, forecasteR, fpp3, framecleaner, fruclimadapt, galvanizer, garma, gbfs, gbm.auto, geomerge, geysertimes, ggblanket, ggpmisc, ggpp, ggspectra, ghclass, gie, gk, globaltrends, govinfoR, gpx, gravitas, grwat, gumboot, gwasrapidd, hablar, hansard, headliner, healthfinance, healthyR, healthyR.ts, heatwaveR, heims, hetu, hgnc, hgutils, highcharter, hockeystick, hoopR, hpiR, htmldf, htsr, humanize, hurricaneexposure, hydroToolkit, hydroroute, hydrotoolbox, iClick, iNZightPlots, iNZightTS, ie2misc, iemisc, iglu, ihpdr, imaginator, impactflu, impactr, incR, inegiR, injurytools, insurancerating, intensegRid, iotables, ipeadatar, iperform, isdparser, ixplorer, janitor, janus, jenga, jmastats, jpcity, k5, kiwisR, kntnr, lactater, lambdaTS, lares, lazytrade, lifelogr, logib, longitudinalcascade, lutz, m5, macleish, macrocol, madshapR, malariaAtlas, margaret, maskRangeR, matman, matuR, mctq, mds, medrxivr, messydates, metR, metajam, meteoland, meteospain, metools, metricminer, midasml, mimsy, mizer, mmaqshiny, moexer, mort, movegroup, mpathsenser, msSPChelpR, multimorbidity, musica, myClim, naive, namedropR, naptime, nasapower, nbTransmission, neonPlantEcology, neotoma2, newsanchor, nixmass, njtr1, noaastormevents, npphen, nser, ntdr, occCite, oceanmap, omock, onc.api, openair, openairmaps, opendotaR, openeo, opinAr, osmdata, pRecipe, packagefinder, padr, parsel, parttime, pastclim, patentr, pathviewr, pcts, pdfetch, pedquant, periscope, periscope2, phase, phenofit, photobiology, photobiologyInOut, phsmethods, piggyback, pingers, piwikproR, planningML, planr, plotdap, pmetar, polished, pollen, polypharmacy, popstudy, portalr, presenter, priceR, primerTree, projects, prophet, proteus, proverbs, puzzle, qualtRics, quantdates, quincunx, rAmCharts4, rWind, radiant.basics, radiant.model, radiant.multivariate, rameritrade, rbi.helpers, rcontroll, rcrimeanalysis, rdfp, readrba, recipes, redcapAPI, refreshr, repana, repoRter.nih, rerddap, respR, respirometry, rfars, rfieldclimate, rgoogleclassroom, riem, ripc, rmweather, rmytarget, rnrfa, rollinglda, rprev, rsinaica, rtrend, rtrends, rts2, rtypeform, rumidas, rwicc, rwunderground, rzentra, salesforcer, sampleVADIR, saotd, sapfluxnetr, saqgetr, sdtmval, seasonalityPlot, secuTrialR, segen, semnar, sense, shiny.reglog, shiny.telemetry, shinyDatetimePickers, shinyInvoice, shinyML, simET, simulariatools, siteymlgen, sits, smosr, snvecR, socialmixr, solartime, sorvi, sovereign, spatsurv, speech, speechbr, spinner, spiralize, spocc, spooky, spotifyr, stRoke, stacomiR, statgenHTP, stationaRy, statnipokladna, statsearchanalyticsr, stocks, stopdetection, stppSim, strand, stxplore, sugrrants, summarytools, suncalc, survivoR, susographql, swaRm, sweep, sweidnumbr, swfscAirDAS, swfscDAS, tableschema.r, tagtools, tashu, tbrf, telemetR, tetragon, thinkr, tibbletime, tidybins, tidycharts, tidycomm, tidyfinance, tidyhydat, tidyquery, tidyrgee, tidysdm, tidytuesdayR, tidyverse, time.slots, timeR, timelineS, timeperiodsR, timeplyr, timetk, togglr, topdowntimeratio, tosca, track2KBA, trackdf, trainR, triact, tsibble, tsibbletalk, tsviz, tv, twilio, uniswappeR, unstruwwel, urlshorteneR, ustfd, utile.tools, vosonSML, votesmart, vprr, vvauditor, vvconverter, vyos, walkboutr, warabandi, waterData, wbstats, weaana, wearables, wehoop, when, whippr, whitewater, wikkitidy, winfapReader, worldfootballR, wqtrends, wxgenR, xesreadR, xml2relational, xmlconvert, xray, yahoofinancer, yfR, zipangu, zoomGroupStats, ztype.

Depended on by HEDA, RGoogleAnalyticsPremium, RMOPI, TreeDep, accrualPlot, hystReet, orgR, pkdata, radiant.data, seawaveQ, tidyquant, tuneRanger.

Suggested by CAST, CDMConnector, ChillModels, DrugExposureDiagnostics, EGRET, Ecfun, Euronext, Families, GetTDData, HistData, Lock5withR, NHSRdatasets, Nmisc, PetfindeR, PhilipsHue, ProjectTemplate, RGENERATEPREC, RMAWGEN, RTTWebClient, SEI, TheOpenAIR, USgrid, UsingR, VirtualPop, adept, argoFloats, arrow, avocado, basictabler, bcpa, casebase, catmaply, cft, checkthat, chronicler, climaemet, completejourney, connectapi, constructive, correlationfunnel, covidmx, crosstable, csdata, cstime, datarobot, datetimeoffset, diffdf, dint, diversitree, drake, duckplyr, dynamAedes, ecb, eph, era, fabletools, fastcpd, fastverse, fec16, flexrsurv, flexsurv, frenchdata, frictionless, gcplyr, gdalcubes, geslaR, ggformula, ggvis, gt, gtfsrouter, guardianapi, hms, htmlTable, hubeau, hyd1d, iForecast, iNZightTools, ibawds, ie2miscdata, iemiscdata, implyr, insee, lterdatasampler, madness, mapbayr, marcher, mcgf, mdsr, midasr, modeltime, modeltime.ensemble, modeltime.resample, momentuHMM, moodleR, mopac, mosaic, move, move2, multidplyr, oce, octopusR, openintro, pedalfast.data, photobiologySun, pillar, pinochet, pivottabler, pointblank, processanimateR, processpredictR, ptvapi, puls, purrr, rAmCharts, rasterList, raw, rbmi, rdflib, read.gt3x, rerddapXtracto, rinat, rmsfuns, robservable, rolap, rtrek, santoku, segmentr, sfhotspot, shide, shinyauthr, shinyloadtest, skimr, slider, spRingsteen, spectator, statar, stats19, tabulog, teal.modules.clinical, tern, testdat, tibble, tidier, tidyfit, tidyindex, tidyjson, tidytransit, timevis, treedater, trip, unvotes, vegawidget, whomds.


See at CRAN