I have a data set something like this, B column is character:
df <- tribble(
~A, ~B,
"902640", "2007-12-09 14:52:21.000"
)
I want to have it something like this and B column should be the date:
df <- tribble(
~A, ~B,
"902640", "2007-12-09"
)
How can I do this?