So Jess,
Instead of this:
try(java.io.PrintWriter output = new java.io.PrintWriter(new java.io.BufferedWriter(new java.io.FileWriter("/home/ptc/QuickLinks.log", true)))) { output.println(new java.sql.Timestamp(System.currentTimeMillis()) + "\t" + currentUser.getName()); } catch (java.io.IOException e2) { e2.printStackTrace(); }
What do you suggest to write the timestamp to my file "/home/ptc/QuickLinks.log" in the timezone of the server, instead of GMT?
Sorry if it is simple question - I'm still somewhat novice at java coding.