Default New Date not in UTC

I have a Date Time picker where the default is {{New Date}} with the following additional configurations:

  • Display: Local time
  • Value: UTC

I have a click handler that controls the date-time component and resets the value. Every time that click triggers, the value of that component is being set with -0500, and then on click it is being changed to UTC format. How can I set the value to UTC before a user interacts with the field?


Maybe use moment instead? @monica

1 Like

That worked, thank you!

1 Like