how to find the day of a date R code example
Example: how to return the date with only the day in it in r
format(as.Date(df$x,format="%Y-%m-%d"), format = "%d")
# or
format(df_meas$Time, format= %d")
# where df_meas$Time is of as.POSIXlt class
format(as.Date(df$x,format="%Y-%m-%d"), format = "%d")
# or
format(df_meas$Time, format= %d")
# where df_meas$Time is of as.POSIXlt class