That's not an error, it's just a warning. It's telling you that you have an import that you don't use. I don't see anything in your code that attempts to print out the time. Check out the System API...