[Time Zone] The time zone ID 'Coordinated Universal Time' was not found on the local computer.

Forge Component
Published on 2018-10-01 by André Vieira
9 votes
Published on 2018-10-01 by André Vieira

why do I get this error?

I changed the server to UTC, but now I cannot convert the currdatetime() to UTC
(which is silly ofcourse, but I would expect not to have to change my code?)

my code in short:

ConvertToUTC(currdatetime(), GetCurrTimeZone.timezone,timezone.standardname)
Hi J.

What is the error you're getting? Can you get a trace from Service Center?


Please help with the error.

The time zone ID '' was not found on the local computer.

Is it because the server location is different from mine?

Hi Conwell,

You are apparently using an empty ID '' for that extension method. Can you give more information about your use case, what are trying to achieve and what methods in the API are you using?