DateTimeZone.FromFileTimeDateTimeZone.FromFileTime
構文Syntax
DateTimeZone.FromFileTime(fileTime as nullable number) as nullable datetimezone
バージョン情報About
fileTime
値から datetimezone
値を作成し、ローカル タイム ゾーンに変換します。Creates a datetimezone
value from the fileTime
value and converts it to the local time zone. filetime は Windows ファイル時間値であり、西暦 1601 年 1 月 1 日の深夜 12:00 からの経過時間を 100 ナノ秒間隔で表します The filetime is a Windows file time value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 midnight, January 1, 1601 A.D. 年月日はキリスト紀元で、時刻は協定世界時 (UTC) です。(C.E.) Coordinated Universal Time (UTC).
例 1Example 1
129876402529842245
を datetimezone 値に変換します。Convert 129876402529842245
into a datetimezone value.
DateTimeZone.FromFileTime(129876402529842245)
#datetimezone(2012, 7, 24, 14, 50, 52.9842245, -7, 0)