I have such input date:
DateTime date = new DateTime("2022-10-30T00:00:00.000+11:00");
How can I convert it to UTC while keeping the same time:"2022-10-30 00:00:00.000"?
In other words, I want the date.getMillis(); method to return the midnight of "2022-10-30" in UTC.
For now, if I call date.getMillis();, I get "2020-10-29" in UTC.