Data.DBXCommon.TDBXValue.GetAsTimeStamp
Delphi
function GetAsTimeStamp: TSQLTimeStamp; virtual;
C++
virtual Data::Sqltimst::TSQLTimeStamp __fastcall GetAsTimeStamp(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXValue |
Description
Protected getter implementation for the AsTimeStamp property.
GetAsTimeStamp returns a TSQLTimeStamp representation of the value. It 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.