Skip to content
Prev 378433 / 398502 Next

Why is there error in as.POSIXlt.character when using strftime()?

If there are no time-of-day values in your data set the the Date type is great. However, it can be messy if you work with both Date and POSIXt types in the same analysis... I recommend sticking with one or the other.

The trunc.POSIXt function is more appropriate for getting POSIXt dates than converting to character and back.
On February 2, 2019 9:03:31 AM PST, C W <tmrsg11 at gmail.com> wrote: