Hi,
My program runs on one remote unix machine. And I use
to get the timestamp. But weird thing is it prints out a very strange value, different from the output using the date command on unix.
When issue a date command on bash, it prints: Fri Aug 10 01:51:21 GMT 2007
But
java program prints: 2007-08-10 15:51:07.372
My local time is: 2007-08-10 16:51:00
Why java gave me such a strange value which is different from either the remote server time and my local time?
Thanks