トーク:System.SysUtils.TimeStampToDateTime

提供: RAD Studio API Documentation
移動先: 案内検索

誤訳

可能であれば英語原文を西暦依存の文章から変更してください。
午前12時は日本では昼の12時。midnight と 12:00am は午前0時( http://www.nao.ac.jp/faq/a0401.html )

英語原文

the date is the number of calendar days since the start of the current calendar (that is, January 1, 0001 would have a value of 1), and time is the number of milliseconds since midnight.
TDateTime values represent time as the number of days (including fractional days) that have elapsed since 12:00 A.M. on December 30, 1899.

現在の訳

日付は,今年のカレンダーの最初から数えたカレンダーどおりの日数で(つまり 1 月 1 日が 0001 で,値は 1 になります),時刻は,午前 12 時から数えたミリ秒単位の時間です。
TDateTime 値は,1889 年 12 月 30 日の午前 12 時から経過した日数(半端な日数を含む)で時刻を表します。


日付値は,西暦のカレンダーの最初から数えたカレンダーどおりの日数で(つまり西暦 0001年 1 月 1 日の値が 1 になります),時刻は,午前 0 時から数えたミリ秒単位の時間です。
or
日付値は,西暦 0001年 1 月 1 日を 1 として数えた日数,時刻値は,午前 0 時から数えたミリ秒単位の時刻です。
TDateTime 値は,1889 年 12 月 30 日の午前 0 時から経過した日数(半端な日数を含む)で時刻を表します。

--Tarisawa (トーク) 2014年3月21日 (金) 19:47 (PDT)