Data.DBXCommon.TDBXTimeValue.SetAsDateTime

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXTimeValue

Delphi

procedure SetAsDateTime(const Value: TDateTime); override;

C++

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

Description

Protected setter implementation for the AsTimeStamp property.

Data.DBXCommon.TDBXTimeValue.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.

See Also