Converting Data Class to Character Class

Hello Everyone, I'm super new to R (One week in):


I'm trying to convert the column "As.of" which is in the class of POSIXct or date class to a Character class

Can anyone help me change this date class to a character class?

I tried inserting this code in Blue, but get this error and tutorials seem to explain the opposite of what I'm trying to do.
image

:= is a data.table function.

You need to add library(data.table) at the top.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.