I am storing all my dates in UTC format in my database. I ask the user for their timezone and I want to use their time zone plus what I am guessing is the server time to fig
You need to set the Kind to Unspecified, like this:
Kind
Unspecified
DateTime now = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Unspecified); var utc = TimeZoneInfo.ConvertTimeToUtc(now , zone);
DateTimeKind.Local means the in local time zone, and not any other time zone. That's why you were getting the error.
DateTimeKind.Local