Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!