Data.DBXCommon.TDBXWideStringValue.GetAsTimeStamp
Delphi
function GetAsTimeStamp: TSQLTimeStamp; override;
C++
virtual Data::Sqltimst::TSQLTimeStamp __fastcall GetAsTimeStamp(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXWideStringValue |
Description
Protected getter implementation for the AsTimeStamp property. {{#multireplace:Data.DBXCommon.TDBXWideStringValue.GetAsTimeStamp|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXValue.GetAsTimeStamp|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DBXCommon.TDBXValue.GetAsTimeStamp|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.