Data.DBXCommon.TDBXWritableValue.SetAsDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAsDateTime(const Value: TDateTime); virtual;

C++

virtual void __fastcall SetAsDateTime(const System::TDateTime Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXWritableValue

Description

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.

See Also