Skip to main content

Working with Dates: lubridate

  • Chapter
  • First Online:
R 4 Data Science Quick Reference
  • 454 Accesses

Abstract

The lubridate package is essential for working with dates and fits well with the Tidyverse. It is not, however, loaded when you import the tidyverse package, so you need to explicitly load it.

library(lubridate)

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    I am in CEST right now. In Denmark, we switch between CEST and CET depending on daylight saving time. I obviously don’t know where you are. If we don’t know each other’s time zones, it’s a good chance we won’t agree on when two o’clock is.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Mailund, T. (2022). Working with Dates: lubridate . In: R 4 Data Science Quick Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-8780-4_11

Download citation

Publish with us

Policies and ethics