Timezone handling with Miletus

Is there a known way to get the current user's timezone offset in Miletus? Do I need to drop down to JavaScript asm mode and use Intl.DateTimeFormat().resolvedOptions().timeZone or is there a way to do it without using that?

Hi,

There are no native calls to retrieve the users' timezone offset using Miletus. You can do it the same way you'd handle this in a normal WEB Core application.
If you need the result from Intl.DateTimeFormat().resolvedOptions().timeZone then currently your best options is indeed an asm block.

There is also TLocalTimeZone in DateUtils but that is based on Date.toLocaleDateString instead of Intl.DateTimeFormat().