Debian – Changing time zone doesn't make LocalTime.now() returns different value, why?
Recently I created a VM on Google Cloud Platform to run my .jar 24/7, and a part of my code is like: if (LocalTime.now().getHour() == 0) whenDateChanged(); I noticed that it runs at 12 am UTC+0, but I want it…