Data Challenge Lab Home

Time spans [wrangle]

(Builds on: Date/time basics)

Dates and date-times (i.e. POSIXct) represent a fixed instant in time. Time spans represent a relative duration, and are important when you start doing arithmetic with dates and times. They’re surprisingly complicated, and in this reading you’ll learn about the three data structures needed to cover the full range of needs.