title: How can I get the current date and time in UTC or GMT in Java?
body: <p>When I create a new <code>Date</code> object, it is initialized to the current time but in the local timezone. How can I get the current date and time in GMT?</p>