Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

197
Visualizações
How do I get the correct DateTime for a DateTimePicker in Google Apps Script?

Using the DateTimePicker in Google Apps Script, I can have the user choose a date and time, and I can use setTimeZoneOffsetInMins to present a UTC date in the correct time zone.

The problem is that fixed timezones don't obey daylight savings time. I don't know before the user enters the date and time whether they'll be entering a time in EST or EDT, and so the timezone offset is guaranteed to be wrong for about half the year.

Is there a solution?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

At the current stage, there is no direct method of achieving your task.

Just like suggested above, the best solution in this situation is to create a feature request on Google's Issue Tracker here and provide all the necessary details.

Reference

  • Apps Script Support.
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda