C# british summer time (BST) timezone abbreviation

后端 未结 3 1409
情歌与酒
情歌与酒 2021-01-07 22:04

I need to display a label with the current time zone abbreviation. My pc\'s timezone is currently set to \"(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London\".

3条回答
  •  终归单人心
    2021-01-07 22:24

    You should know that all the time zones that say "Standard" will properly switch to daylight time in the summer. For example TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time") will be an object that can properly handle both standard and daylight times. The same is true for, say, "Pacific Standard Time".

提交回复
热议问题