Created
January 28, 2019 09:23
-
-
Save Ovis/a589e368d05a6ebfd5567352071a7043 to your computer and use it in GitHub Desktop.
日本標準時をLinuxでも取得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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