How to change DateTime component Picker timezone

Hi,

I have a DateTime picker component in my interface, when I am selecting some DateTime it gets selected in EST timezone.

I have a requirement to change the timezone based on selection of a timezone dropdown where timezone values are listed (i.e PST, CST, MST and many more.)

Please help me on this.

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer

    The DateTime picker will cast the date and time into the active user's default timezone.  I don't believe there's any way to override this in the field itself.  But you can probably work out a way to use your timezone dropdown to alter the saved value of whatever the user picked in their picker.  The exact implementation details really largely depend on exactly what use case you're trying to accomplish, which I can't really guess at.