microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java
public static String getGMTTime(final Date date) {
        final DateFormat formatter = new SimpleDateFormat(RFC1123_GMT_PATTERN, LOCALE_US);
        formatter.setTimeZone(GMT_ZONE);
        return formatter.format(date);
    }
public static String getGMTTime(final Date date) {
        final DateFormat formatter = new SimpleDateFormat(RFC1123_GMT_PATTERN, LOCALE_US);
        formatter.setTimeZone(GMT_ZONE);
        return formatter.format(date);
    }
Returns the GTM date/time String for the specified value using the RFC1123 pattern.

@param date
A <code>Date</code> object that represents the date to convert to GMT date/time in the RFC1123
pattern.

@return A <code>String</code> that represents the GMT date/time for the specified value using the RFC1123
pattern.