How can I get the current date and time in UTC or GMT in Java? - Stack Overflow
java.util.Date has no specific time zone, although its value is most commonly thought of in relation to UTC. What makes you think it's in local time? To be precise: the value within a java.util.Date is the number of milliseconds since the Unix epoch, whic...