VMware Cloud Community
danstaunton
Contributor
Contributor

Capturing local time zone of user.

Hi.

I have created a XaaS blueprint form which contains a date time picker.

Currently the date/time is stored in UTC, however we have a requirement to capture the users local time in order to adjust the start date accordingly, due to having users located across the world.

I have tried using an action to capture the UTC difference but this only offsets the time against the servers local time.

new Date().getTimezoneOffset();

So my question is, is there any way to capture information about the users local time zone?

Thanks,

Dan

0 Kudos
1 Reply
daphnissov
Immortal
Immortal

So my question is, is there any way to capture information about the users local time zone?

No, there's no functionality that can enable that.

0 Kudos