Skip to content
Advertisement

Tag: posixct

select the last 30 days of POSIXct dates in R

Probably simple, but this is my first time working with POSIXct date format. I have a table of orders (that i got from a syl database) and I would like to select all rows of the last 30 days. so today’s date minus 30 days. my date is of the type POSIXct. Now, I know how to do this selection

Advertisement