Soap.XSBuiltIns.TXSCustomDateTime.AsDateTime

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

Delphi

property AsDateTime: TDateTime read GetAsDateTime write SetAsDateTime;

C++

__property System::TDateTime AsDateTime = {read=GetAsDateTime, write=SetAsDateTime};

プロパティ

種類 可視性 ソース ユニット
property public
Soap.XSBuiltIns.pas
Soap.XSBuiltIns.hpp
Soap.XSBuiltIns TXSCustomDateTime

説明

オブジェクトの値を TDateTime の値として表します。

AsDateTime プロパティを使用すると,TXSCustomDateTime オブジェクトの値を TDateTime 型の変数に読み出したり,TXSCustomDateTime の値を TDateTime の値から設定することができます。AsDateTime は,TDateTime の値と YearMonthDayHourMinute,および Second の値の間のマッピングを処理します。

メモ:  AsDateTime は,Coordinated Universal Time(UTC)を使用しないで日付および時刻を表します。つまり,AsDateTime では,HourOffset プロパティおよび MinuteOffset プロパティは無視されます。HourOffset プロパティおよび MinuteOffset プロパティを考慮に入れて値を取得または設定するには,AsDateTime プロパティのかわりに AsUTCDateTime プロパティを使用します。

関連項目