finding the day from the input day,month,year using r code example
Example 1: 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
Example 2: number of days in a data set in r
seqOfDays <- seq.POSIXt(min(df_meas$Time),max(df_meas$Time), by=60*60*24)
numDays = length(seqOfDays)