# See type specific documentation for more examples
x <- date_build(2019, 2:4)
date_end(x, "month")
x <- date_time_build(2019, 2:4, 3:5, 4, 5, zone = "America/New_York")
# Note that the hour, minute, and second components are also adjusted
date_end(x, "month")
Run the code above in your browser using DataLab