Skip to main content
February 8, 2021
Question

How to change DateTime component Picker timezone

  • February 8, 2021
  • 1 reply
  • 0 views

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.

    1 reply

    mikes0011
    Brainy
    February 8, 2021

    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.

    The Expression Guru