Converting `dttm` to `date` formatting with as.Date and as_date give different results in R
问题 I have a large data set with individual columns for event times and dates. I ended up creating a master dttm object with both the times and dates together, but have had trouble when I try to filter based on the date. Here is a sample data set that reflects my own: library(tidyverse) d<- structure(list(date = structure(c(1530921600, 1531008000, 1530403200, 1530489600, 1530576000, 1530489600, 1530576000, 1531008000, 1530921600, 1530662400, 1530748800, 1531180800, 1530748800, 1531526400,