TimeSpan between UTC and AUS local

47 views Asked by At

I don't understand the result of the following code:

request.Dob = TimeZoneInfo.ConvertTimeToUtc(DateTime.Parse("24-03-1961"));
TimeSpan ts = request.Dob - DateTime.Parse("24-03-1961");

I am in AEDT time zone (Sydney) so the time span (between UTC and local) I reckon should be -10 hours, but time span shows me -11 hours. I am so confused - where is that 1 hour difference coming from?

0

There are 0 answers