Conversion of date/time in string format to day in string format

Conversion of date/time in string format to day in string format

date2dateday_IQRdataProgramming(
  dateString,
  format = "%Y-%m-%dT%H:%M",
  formatday = "%Y-%m-%d"
)

Arguments

dateString

Vector of dates/times in string format

format

Format of the date/time information, defined as the format for as.POSIXxt()

formatday

Format for the day date string, defined as format for as.POSIXct()

Value

Vector of date strings