I have as an input:
- The time (8:00AM)
- An Olson Timezone (America/New_York)
and I need to convert the time into another Olson Timezone (America/Los_Angeles)
What is the best way in .net or nodatime to do that conversion. I am basically looking for the equivalent of this method in C#:
var timeInDestinationTimeZone = TimeZoneInfo.ConvertTimeBySystemTimeZoneId(CurrentSlot.Date, TimeZoneInfo.Local.Id,
room.Location.TimeZone.TimeZoneName);
but this .Net method above only works with Windows Timezone names (and i have Olson names)