Im running jamvm on a PLC, but the virtual machine returns not the system time but always a false date.
new Timestamp(System.currentTimeMillis()).toString()
I have also checked the system time and it's set correctly. For example today 11.08 it returns 2016-07-27 20:30:42.992