Hi, does anybody know why this method has different signature or have a workaround to get timezone offsett based on date parameter?
In JavaScript we are limited to current date and time and that might be wrong due to daylight savings. This method does not accept any parameters.
However, while working with PCF this method accepts datetime parameter and gives correct offsett based on that. Here are links to documentation on both of these:
getTimeZoneOffsetMinutes - Power Apps | Microsoft Docs
Thanks in advance