time_trans works with objects of class posixct only

Hello, I have a problem with a graph I'm trying to do. Every time I try to produce it, it gives me this error: time_trans works with objects of class posixct only.
The code is as follows:
image
And the formatting is this one:
fish$Datetime <- strptime(paste(fish$ï..Date,fish$Time ,sep = ""),format = "%Y.%m.%d %H:%M:%S",tz="GMT")

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

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.