So I wanted to timestamp the data stream which I am sending over the cloud. I used Time.zone() to set the time zone and used Time.now() to get the current unix time. However, at the time of compilation, it is showing an error that Time does not name a type. It was working on the web IDE but seems to generate this error on the desktop IDE.
I have no idea what the issue is.