yes we have daylight saving and setting DateTime.SetTimeZone to +1 solve the issue but these make user need to adjust time by him self
i just want to simpley get exact PC time like its without needing for any addtional adjustment
sorry ,when do test i forget to remove DateTime.SetTimeZone ,offset: value is 2
i think the issue that (useDaylight=false) ,when its actually on PC is true
1. Update to OpenJdk 19.
2. The daylight offset is not related to the OS settings. The JVM includes a database with the time zones and the daylight offsets.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.