How get hour into Rome datetime

Hi there,

I already used the searchbar and i found how obtain the UTC. I need the Rome UTC (CEST) but i cannot do just Now.Addhour+2 because the Rome UTC will change at +1 from Novembre.

So my question is this: Is there a way, to obtain the correct Rome UTC without add Hour manually?

@vittorio.cimmino

Please try this

TimeZoneInfo.ConvertTimeFromUtc(UTCDateTimeVariable, TimeZoneInfo.FindSystemTimeZoneById("Central European Standard Time"))

DateTime.UtcNow will give current UTC time if you need

Cheers

Hi @vittorio.cimmino

Try this-

TimeZoneInfo.FindSystemTimeZoneById(“Europe/Rome”)

Thanks!!