Data.DBXCommon.TDBXDateValue.SetAsDateTime
Delphi
procedure SetAsDateTime(const Value: TDateTime); override;
C++
virtual void __fastcall SetAsDateTime(const System::TDateTime Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXDateValue |
Description
Protected setter implementation for the AsTimeStamp property.
Data.DBXCommon.TDBXDateValue.SetAsDateTime inherits from Data.DBXCommon.TDBXWritableValue.SetAsDateTime. All content below this line refers to Data.DBXCommon.TDBXWritableValue.SetAsDateTime.
Protected setter implementation for the AsTimeStamp property.
SetAsTimeStamp applies a type conversion if needed. If there is no supported conversion to this type, an exception is raised.
Tip: When transmitting a TDateTime parameter over DataSnap between a client and a server, there is no UTC conversion between different time zones. If you want to transmit the local time, then you need to add additional parameters to represent the time zone explicitly.