I have a dataframe with timestamps, which look like this:
2020-06-28T16:45:04.3602059+03:00
I use anytime packages function anytime to transform its format:
df <- df %>%
dplyr::mutate(
timestamp = anytime::anytime(timestamp))
So after that timestamp looks like this:
2020-06-28 16:45:04
But i lost milliseconds here. How could i do that transformation with keeping milliseconds in case of this specific initial format?