Skip to content

Instantly share code, notes, and snippets.

@Ovis
Created January 28, 2019 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ovis/a589e368d05a6ebfd5567352071a7043 to your computer and use it in GitHub Desktop.
Save Ovis/a589e368d05a6ebfd5567352071a7043 to your computer and use it in GitHub Desktop.
日本標準時をLinuxでも取得
var jst = TZConvert.GetTimeZoneInfo("Tokyo Standard Time");
var localTime = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, jst);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment