I'm currently based in Europe/London
I am trying to get the current day in Samoa, which is 27 July with the following code:
LocalDate localDate = LocalDate.now(ZoneId.of("Pacific/Samoa"));
However for some reason this outputs as:
2023-07-26
It's currently 16:47, 26 July in London, and 4:47, 27 July in Samoa.
I don't understand why I'm getting the 26 as output if Im using Samoas zoneId.