Data.DBXCommon.TDBXWritableValue.SetAsDateTime
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.DBXCommon.pas Data.DBXCommon.hpp
| |
Unit: Data.DBXCommon | |
Parent: TDBXWritableValue |
Delphi
procedure SetAsDateTime(const Value: TDateTime); virtual;
C++
virtual void __fastcall SetAsDateTime(const System::TDateTime Value);
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.