protected @Nullable
    String getDateTimeInUTC(String value, String format) {
        try {
            Date datetime = new SimpleDateFormat(format, Locale.US).parse(value);
            SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.US);

            if (datetime != null) {
                return formatter.format(datetime);
            }

            return null;
        } catch (Exception e) {
            // This error does not bubble up to RN as we don't want failed datetime parsing to prevent selection
            Log.e("RNIP", "Could not parse image datetime to UTC: " + e.getMessage());
            return null;
        }
    }
Converts a timestamp to a UTC timestamp

@param value  - timestamp
@param format - input format
@return formatted timestamp
android/src/main/java/com/imagepicker/Metadata.java